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

If circular link of two objects, then will it be garbage collected ?

3 Answers   TCS,


List some important features of java 10 release?

0 Answers  


what is java

10 Answers  


What are passing parameters?

0 Answers  


What are the standards to place package statement within a source code file?

1 Answers  


what is difference between Interface and abstract class

2 Answers   GCPL,


Which are different kinds of source code?

0 Answers  


Why char array is preferred over string for storing password?

0 Answers  


How can we achieve thread safety in java?

0 Answers  


What is the Concept of Encapsulation in OOPS

0 Answers   HCL,


What is hash code collision?

0 Answers  


in a constructor what happen if u call super and this in the same class? i know that it is not possible to call both in the same one? if we call what will happen?

10 Answers   ITC Infotech,


Categories