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
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