Is Java Class Threadsafe ????? How to make Java class Thread
safe??

Answer Posted / divya

using synchronization,immutable objects,thread safe wrappers

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does the “static” keyword mean?

801


What is your platform’s default character encoding?

772


If a class is declared without any access modifiers, where can the class be accessed?

792


What does function identity () do?

706


Can you inherit from an abstract class java?

737


What is the purpose of static methods and static variables?

741


What is the intersection and union methods?

775


Explain the differences between abstraction and encapsulation?

763


what is session in java?

971


Which java version is latest?

722


Why do we need wrapper classes?

786


What are the main differences between the java platform and other platforms?

740


What is the char data type?

764


What are autoboxing and unboxing? When does it occur?

696


What is bigger kb or mb?

788