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 native api in java?

0 Answers  


Iam working as a Project Lead in a s/w comp.The follwing question was asked in HCL interview. What about the schedule slippage? If the developer has taken more time than the specified time. How do you adjust the time? From where do you allocate that extra time for the developer?

2 Answers   HCL, Logesys,


What's the difference between code-based security and role-based security? Which one is better? : java security

0 Answers  


What is the java api?

0 Answers  


Is java singleton thread safe?

0 Answers  






What is a controller in java?

0 Answers  


Java prints out a ton of digits when I system.out.println() a double. How can I format it so it displays only 3 digits after the decimal place?

0 Answers  


What is xml file in java?

0 Answers  


Which is more secure: java or activex? : java security

0 Answers  


what is the use of a super keyword?

4 Answers  


Why bean class is used in java?

0 Answers  


How do I run a project in netbeans?

0 Answers  


Categories