This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes Vector Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "Vector" Watch "Vector" New topic
Author

Vector

Sarma Lolla
Ranch Hand

Joined: Oct 21, 2002
Posts: 203
What methods are NOT synchronized in java.util.Vector class?
A) size()
B) add(int index, Object element)
C) capacity()
D) get(int index)
I read some where that all the methods in the Vector class are synchronized. Isn't that true? If not what could be the answer to this question? This Q is from Certification4Career.com
The answers given are A, B , C
 
wood burning stoves
 
subject: Vector
 
Similar Threads
vector and array list
Vector
about synchronized key word
Array problem