Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

Answers were Sorted based on User's Feedback



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

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

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

Answer / divya

using synchronization,immutable objects,thread safe wrappers

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More Core Java Interview Questions

What is Java Reflection API? Why it’s so important to have?

0 Answers  


What is definition and declaration?

0 Answers  


What is a method declaration?

0 Answers  


What is difference between identifier and variable?

0 Answers  


Can inner class extend any class?

0 Answers  


Why is serialization required?

0 Answers  


Where is stringbuffer stored?

0 Answers  


Why do we need data serialization?

0 Answers  


What are the three parts of a lambda expression? What is the type of lambda expression?

0 Answers  


What is the range of the char type?

3 Answers  


How is tree Mirroring implemented?

0 Answers   Fidelity,


What is the exception hierarchy in java?

0 Answers  


Categories