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 is a newline character in java?

987


What are pass by reference and pass by value?

931


How is Object Oriented Programming different from Procedure Oriented Programming?

990


Write a java program to count the number of words present in a string?

940


What is Applet Stub Interface ?

2425


What is flush buffer?

971


How do you access command-line arguments within the code?

1005


What is character in data type?

922


What is method overloading in JAVA? Why is it not present in C ?

1038


Is there is any difference between a scrollbar and a scrollpane?

942


What do you understand by an io stream?

985


What is final variable?

882


What is mutable object and immutable object?

1082


Why lambda expression is used in java?

997


What is passing value java?

1001