How does Vector implement synchronization?
Answer Posted / srinu
By default Vector class are Thread safe,thus all methods of
vector class are synchronized
| Is This Answer Correct ? | 1 Yes | 7 No |
Post New Answer View All Answers
State two differences between C and Java.
What are static methods?
Is char * a string?
What does singleton mean in java?
What is math floor in java?
How to perform quicksort in java?
What modifiers may be used with an inner class that is a member of an outer class in java programming?
Write an algorithm program in java for the following question.. In a VLSI design techniques,they used rectangles to design circuits. EVery rectangle is to be placed according to x,y coordinates. Check whether or not two rectangles overlap each other. Here overlapping of rectangles is acceptable, if 1) one rectangle intersect with other. 2) one rectangle fully covers other. The time of algorithm should not exceed o(n logn).
Why is static used?
Can you make a constructor final in Java?
Why are parameters used in functions?
How to perform bubble sort in java?
what is the purpose of the wait(), notify(), and notifyall() methods? : Java thread
What are the data types supported by java? What is autoboxing and unboxing?
Are variables stored in ram?