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

when we applied start()method on a thread ,how does it know
that to execute run()method on that object?

Answer Posted / sushant

Thread in a java inbuilt Object.
So if you are implementing threads in your system by using
Thread class or runnable interface, the JVM will look at
that and keep an eye on your code. As soon as you call the
start method it will go and call the run method on its own.
The funda here is that this is something that the JVM if
fully responsible of handling.

Is This Answer Correct ?    5 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

To identify IDL language what mapping mechanism is used?

3984


What is the difference between a menuitem and a checkboxmenuitem?

1173


What is local interface. How values will be passed?

1087


What is the immediate superclass of the applet class?

1135


Explain about RMI Architecture?

1135


which book is better for jdbc ,servlets and jsp

2137


What is TL and its use?

2545


To what value is a variable of the string type automatically initialized?

1167


why static class in java

1817


What is bean? Where can it be used?

1244


Why is actionform a base class rather than an interface?

1115


What is in-memory replication?

1131


What state does a thread enter when it terminates its processing?

1119


What is Remote Server?

2253


whats is mean by connectionpooling

2057