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 / poorna chandar rao

thread is created in two ways
one is extends Thread class
and another way is implements runnable interface

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

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you define a class in oop?

1170


Why is encapsulation used?

1054


What are properties in oop?

1139


How do you answer polymorphism?

1105


Why do we need oop?

1272


is there any choice in opting subjects like 4 out of 7

2238


What is oops concept with example?

1080


How does polymorphism work?

1183


write a program to find 2 power of a 5digit number with out using big int and exponent ?

2437


State what is encapsulation and friend function?

1338


Why multiple inheritance is not allowed?

1243


What does and I oop mean?

1280


what are the ways in which a constructors can be called?

2200


They started with the brief introduction followed by few basic C++ questions on polumorphism, inheritance and then virtual functions. What is polymorphims? How you will access polymorphic functions in C? How virtual function mechanism works?

1963


Can an interface inherit a class?

1106