View RSS Feed

Recent Blogs Posts

  1. Remote Interfaces, Objects, and Methods

    by
    RMI
    , 07-07-2012 at 06:18 PM
    Distributed applications are madeup of classes and interfaces, just the way all other Java applications are made. Methods are declared by the interfaces. Methods which have been declared are implemented by the classes. Perhaps, an additional method would also be declared. In distributed applications certain implementations are present in Java virtual machines, however others are not. Objects along with method which could possibly be invoked are known to be the remote objects.
    When a remote ...
  2. Using Vectors in Java

    by , 11-10-2011 at 06:03 PM (My Java Tips)
    Vectors are very useful to store objects for later use. One may define vector as a growable array of objects, so no need to specify the size of Vector while declaring it.


    Vector stores objects which can even be an object of user made class. For example: we want to store 2 string objects in a vector. Then we want to store an object of user made class TestClass also in the same vector. This is possible.

    Vectors belong to java.util package so import it before using. While ...
    Categories
    Java SE