Is java Class Thread safe ???? How to make java Class Thread
safe ??



Is java Class Thread safe ???? How to make java Class Thread safe ??..

Answer / avinash pandey

NO Java class is not Thread Safe , for making thread safe to
Java class we have to use either Synchronized method or
Synchronized block...

Is This Answer Correct ?    28 Yes 1 No

Post New Answer

More Java Related AllOther Interview Questions

What is Map,List,hashtable,ArrayList and difference between them??

0 Answers   Cap Gemini, TCS,


What is numberformatexception in java?

0 Answers  


Is jvm a compiler or an interpreter?

0 Answers  


Explain suspend() method under thread class>

0 Answers  


can a program use more than one command-line argument?

0 Answers  






In my project i need to use either JSF or Struts.Here i need some clarification about them and which IDE is better for JSF development? Please post your valuble answers ASP!

4 Answers   Infosys,


What is repository pattern in java?

0 Answers  


What happens if javac is not recognized?

0 Answers  


What is interceptors in java?

0 Answers  


Can an application have multiple classes having main method?

0 Answers  


What is an interceptor in java?

0 Answers  


what is the serialization?

2 Answers   TCS,


Categories