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 |
Explain the difference between an object-oriented programming language and object-based programming language?
Tell me about different OOPS concepts.
What is the difference between Java Bean and Java Class.?
What is not thread safe?
can any body tell me? does advance java and j2ee both are same.
write a simple program inheritance?
Why singleton pattern is better than creating singleton class with static instance?
Why do we need strings in java?
How to create an instance of a class without using "new" operator? Plz help me out properly.Thank u.
What is static method with example?
In C we use only compiler. Why java uses both compiler and interpreter? What is its significance?
How 'java' got its name and what it stands for?