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

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the reason for each keyword of public static void main(string args[])?

492


What if the main method is declared as private?

472


Are there tuples in java?

481


Which is best framework in java?

499


What is resultsetmetadata in java?

520






Describe life cycle of thread?

575


What are jpa repositories?

484


What is jpa used for?

487


how can we create the ui using netbeans,having the code?

1629


What do you understand by numeric promotion?

521


What is the difference between swing and awt components?

639


Is php faster than java?

484


What is dependency injection in java?

472


differences between iterator and spliterator in java se 8?

551


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?

469