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 / vamsikrishna

we can do it in two ways.
one is by extending thread class and other is by
implementing Runnable interface.
here the later one is good because when we are going for
mutiple inheritance only interface helps us

Is This Answer Correct ?    8 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a class oop?

1057


What exactly is polymorphism?

1182


What are the 5 oop principles?

1166


How to call a non virtual function in the derived class by using base class pointer

6687


Can we override main method?

1280


Can enum be null?

1071


Why do while loop is used?

1097


What is encapsulation in ict?

1118


What is the purpose of polymorphism?

1173


What is abstraction in oops with example?

1352


What is abstraction in oop with example?

1189


What is polymorphism in oops with example?

1107


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

2164


How do you define a class in oop?

1173


What is static modifier?

1325