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

we have two threads..both the threads are reading the
data.. is there any need of synchronization
there?...justify it?

Answer Posted / sridhar

In this case synchronization is not requied because u r not
going to change the data.
U can use synchronization but performence will decrease.

Is This Answer Correct ?    16 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does the string method compareto () do?

1062


What is empty list in java?

1081


Can a main method be overloaded?

1026


What is the relationship difference the canvas class and the graphics class?

1061


What is a boolean used for?

1115


What does the @override annotation do?

1042


What is arrays aslist in java?

959


What happens if I remove static from main method?

1010


What is the use of arrays tostring () in java?

1041


What are the data types supported by java? What is autoboxing and unboxing?

1024


What are 3 data types?

998


What is sortedmap interface?

1002


What is the difference between sleep and wait in java?

967


What restrictions are placed on method overriding?

1187


Is singleton thread safe in java?

992