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 are the two ways of implementing multi-threading in java?



What are the two ways of implementing multi-threading in java?..

Answer / hrindows@gmail.com

Multi threaded applications can be developed in Java by using any of the following two methodologies:
1. By using Java.Lang.Runnable Interface. Classes implement this interface to enable multi threading. There is a Run() method in this interface which is implemented.
2. By writing a class that extend Java.Lang.Thread class.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Core Java Interview Questions

what is platform native code

2 Answers   i3 Solutions,


What is a type parameter in java?

0 Answers  


What is binary search in java?

0 Answers  


Why does it take so much time to access an applet having swing components the first time?

0 Answers  


why the abstract class has default constructor?

2 Answers  


When does an object becomes eligible for garbage collection in java?

0 Answers  


Why is singleton class used?

0 Answers  


What is bigger kb or mb?

0 Answers  


What is the += operator called?

0 Answers  


Difference between serialization and deserialization in java?

0 Answers  


How are Observer and Observable used?

3 Answers  


What is the importance of static variable?

0 Answers  


Categories