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??

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the association?

988


How we create object in copy constructor?

1125


What is null statement?

1017


How does multithreading take place on a computer with a single cpu?

1008


give an example for encapsulation?

1049


What is stringjoiner ?

961


describe method overloading

1019


What is jit compiler ?

981


Write a program to show whether a graph is a tree or not using adjacency matrix.

1098


What is r * in math?

1000


What do you mean by local variable and instance variable?

956


What are the rules for variable declaration?

969


Is minecraft 1.15 out?

978


Explain the meaning of java applet.

1071


Explain notifyall() method of object class ?

1090