How can you say HashMap is syncronized?

Answer Posted / vikas

HashMap is not synchronised, nor thread safe.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

When should the method invokelater() be used?

589


What are the main uses of java?

535


Why is java called the platform independent programming language?

582


Can substring create new object?

566


What is byte [] in java?

543






I want to persist data of objects for later use. What’s the best approach to do so?

513


What are static methods?

578


What is prefix of a string?

581


Explain the difference between jvm and jre?

566


Q1.A. Write note on “The class path Environment Variable”? B. Which are different kinds of source code? Q2.A. How to create an interface? B. Why convert an applet to an application? Q3.A. How to use Media tracker Class. B. How to use string tokenizer class. Q4 A. Explain the overview of UDP messaging. B. Difference between SQL Exception class and SQL Warning class. Q5. A. How to create com object in Java? B. Write short notes on “The properties class” Q6. A. When object is created and destroyed? B. Explain the JDB in depth & command line. C. Write short notes on Web Sites.

7439


How does arrays sort work in java?

610


What is a return in java?

558


What value is a variable of the string type automatically initialized?

619


What does || || mean in math?

521


what is a working thread? : Java thread

559