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

In how many ways we can the thread? in java

Answer Posted / himanshu kapoor

IF this question is that in how many ways we can use the thread in java?, then answer is that there are two ways
1. by implementing Runnable interface and
2. by inheriting Thread (abstract class)

Is This Answer Correct ?    24 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Does java support multiple inheritances?

1058


Explain the JDB in depth & command line.

1057


What does this () mean in constructor chaining concept?

1199


what are the methods in object?

1203


How do you declare an array in java?

1128


What are advantages of exception handling in java?

1063


According to java operator precedence, which operator is considered to be with highest precedence?

1138


What is difference between throw and throws ?

1197


What is compiler and what its output.

1197


What is the benefit of inner / nested classes ?

1034


What things should be kept in mind while creating your own exceptions in java?

1225


When is the finalize() called?

1225


Are maps ordered java?

997


How do you escape a string?

1035


What are the advantages of java over C++?

1249