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 |
When a thread is created and started, what is its initial state?
Explain working of java virtual machine (jvm)?
What is injection in java?
Which framework is best for rest api java?
In system.out.println(), what is system, out and println?
what are the types of constructer explain with example
Why we use beans in java?
What is jpa project?
What is repository pattern in java?
How can I swap two variables without using a third variable?
What is javax annotation generated?
cant we call run() method directly instead of calling indirectly through the start() method ? if we do so then what is the problem ?