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?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain restrictions on using enum?

1009


How many bytes is a unicode character?

954


What is an exception in java?

1059


What are the characteristics of Final,Finally and Finalize keywords.

1123


What is the private method modifier?

1032


What is the use of accept () method in java?

1042


When do I need to use reflection feature in java?

1008


How are the elements of a gridbaglayout organized in java programming?

935


What is ascii code?

1154


Can private class be inherited in java?

971


What is the syntax and characteristics of a lambda expression? Explain

992


What is the difference between notify and notifyall method?

1105


How is java created?

887


What is composition in java?

1216


What is adapter in java?

875