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


Please Help Members By Posting Answers For Below Questions

What happens if main method is not static?

724


Can set contain duplicates?

771


what is use of functional interface in java 8?

790


What one should take care of, while serializing the object?

675


Why is java called the platform independent programming language?

799


what is the difference between preemptive scheduling and time slicing? : Java thread

770


How do you find the independent variable?

745


Can you override static methods?

734


What does snprintf return?

774


What is the difference between jdk and jre?

834


What is wrapper class html?

718


What is java Applet?

833


what happens when a thread cannot acquire a lock on an object? : Java thread

818


What data structures are used to perform recursion?

811


Why is inheritance used in java?

833