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 / ranjan

synchronization is necessary in threads
problem.synchronization means at a time only one thread can
access it.If it is not done then one thread will read the
resource & other will try to update it.It will create a
problem.

Is This Answer Correct ?    3 Yes 11 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the main method java?

985


What is OOP's Terms with explanation?

1137


Give us a program to check for parenthesis matching using stack.

962


What is data type modifier?

889


What is the difference between quicksort & mergesort? When should they be used? What is their running time?

1041


What are the steps in the jdbc connection?

971


Can finally block be used without a catch?

940


What are the 6 functions?

918


Find the value of a specified element of the array arr[i] where 0 <= i <= n-1

938


What is static class

1060


how we can make a write-only class in java?

985


What is difference between pointer and reference?

1011


What are the steps that are followed when two computers connect through tcp?

956


How many digits is int32?

940


Why is whitespace important?

1027