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 we declare static variables in JSP page.

3 Answers   TCS,


Explain the available thread states in a high-level?

0 Answers  


What is a line break?

0 Answers  


How objects are stored in java?

0 Answers  


Can we catch more than one exception in a single catch block?

0 Answers  


what is difference between abstract factory and factory design patterns?

0 Answers  


Which sorting is used in arrays sort in java?

0 Answers  


What is finally block?

0 Answers  


What is broken and continue statement?

0 Answers  


Differentiate storage classes on the basis of their scope?

0 Answers   Fidelity,


Why are functions called methods in java?

0 Answers  


How do you define a set in java?

0 Answers  


Categories