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 are java packages? What is the significance of packages?

990


Why string is called as immutable?

925


Does java runtime require a license?

1040


What are design patterns and please explain?

1067


What is the static block?

1053


What happens if an exception is not handled in a program?

1084


What is time complexity algorithm?

1028


When a thread is executing synchronized methods , then is it possible to execute other synchronized methods simultaneously by other threads?

1045


What is a protected void?

904


What is the difference between static binding and dynamic binding?

1095


Can we initialize the final blank variable?

1075


What is passing parameters in java?

1021


Why Set interface contains unique elements, what internally implemented for this so that it contains unique elements?

8082


What is an arraylist in java?

1056


Are floats faster than doubles?

1040