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

Can singleton class be inherited in java?

0 Answers  


What do you mean by stack?

0 Answers   Accenture,


What is casting in java programming?

0 Answers  


Difference between Superclass and Subclass?

7 Answers  


can we declare private class in java file?

13 Answers  


How do you compare two strings? any predefined method for this?

3 Answers  


What are the differences between wait() and sleep()?

0 Answers  


What collections you have worked on? Internal working of Hashmap?

1 Answers   Bravura Solutions,


write the hierarchy of component class?

1 Answers  


Are true and false keywords?

0 Answers  


What is class and object in java?

0 Answers  


What is the length of a string?

0 Answers  


Categories