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

how to create thread in java?

Answer Posted / ravi gandhi

threads are created in two ways
1.implementing Runnable interface
2.Extending Thread Class

in thees two ways implements runnable interface is better
option because it supports multilevle thread cocept

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Advantage and disadvantage of routing in telecom sector

1254


What is overloading in oop?

964


Plese get me a perfect C++ program for railway/airway reservation with all details.

3847


How do you define a class in oop?

1078


What do you mean by Encapsulation?

1041


What is polymorphism and its types?

1014


What is class and object in oops?

1076


• What are the desirable attributes for memory managment?

2176


How to handle exception in c++, For example in a functions i am assigning memory to some variables and also in next instructions in am dividing one variable also. If this functions generates a error while allocating memory to those variable and also while dividing the variable if i divide by zero then catch block how it will identify that this error has cone from perticular instruction

2089


officer say me - i am offered to a smoking , then what can you say

2056


Why do we use polymorphism?

1023


how to get the oracle certification? send me the answer

2118


What is an advantage of polymorphism?

1038


write string class as your own class in java without using any built-in function

2455


What are the features of oop?

1106