Is Java Class Threadsafe ????? How to make Java class Thread
safe??
Answers were Sorted based on User's Feedback
Answer / bojjanna
By Default java class a not tread safe, i we make a tread
safe we have three ways
1) avoiding the instance variables
2) by using Sycrinization
3) by using Syncronize block
| Is This Answer Correct ? | 19 Yes | 1 No |
Answer / divya
using synchronization,immutable objects,thread safe wrappers
| Is This Answer Correct ? | 0 Yes | 1 No |
Why is java called java?
How many types of constructors are used in java?
Difference between java and javascript
How core java/j2ee project performance can be measured ?
why java is platform independent?
question on Thread synchronization
What is the use join() in Threads ?
WAP to illustrate the use of interface
how we can create packages in java?
What is java util concurrentmodificationexception?
What is fail fast in java?
How to avoid memory leak in java?