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

Why is java called java?

0 Answers  


How many types of constructors are used in java?

0 Answers  


Difference between java and javascript

0 Answers  


How core java/j2ee project performance can be measured ?

1 Answers  


why java is platform independent?

5 Answers   IBM, SparkTG,


question on Thread synchronization

3 Answers   Huawei,


What is the use join() in Threads ?

5 Answers   HCL,


WAP to illustrate the use of interface

2 Answers  


how we can create packages in java?

0 Answers  


What is java util concurrentmodificationexception?

0 Answers  


What is fail fast in java?

0 Answers  


How to avoid memory leak in java?

0 Answers  


Categories