Subash Chandran posted: "To replace an element in Java Vector, set() method of java. util. Vector class can be used. The set() method takes two parameters -the indexes of the element which has to be replaced and the new element. vector.set(i,value);"
|

No comments:
Post a Comment
Note: Only a member of this blog may post a comment.