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

what is multitherading

Answer Posted / john noah

In a single threaded system program executes in a sequence
line by line. Multithreaded system can allow multiple
threads to execute a program parallel in multiple instances.

If there is any part of code dealing with the object data
modification, there is no guarantee that it will not be
attempted any more than one thread at a time.

there's a need to make sure that such kind of code should be
executed exclusively. To achieve this in Java we a concept
of LOCK. Using Lock mechanism thread holds complete hold on
an object and object is also can not be access any other
thread except the thread holding that lock. Lock is an
object level control and one thread only can hold it at a time.

Is This Answer Correct ?    8 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does I ++ mean?

1116


What is a function argument in java?

1043


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

1038


Are arrays classes in java?

1100


What is thread life cycle?

1024


Can we declare array without size in java?

1077


How do you create a method in java?

1043


What does this mean java?

1170


Can we override static methods in java?

1118


Give few difference between constructor and method?

1019


What is abstract class constructor called?

1072


Explain Basics of OOP Language in java

1102


How do you check if an arraylist is not empty?

1180


Differentiate between overriding and overloading cases?

1160


How to sort an array from smallest to largest java?

1030