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 are the important components of cohesion?

1018


i=20;k=0; for(j=1;k-i;k+=j<10?4:3) { cout<

1847


What is a class oop?

1002


What are the 5 oop principles?

1120


Why is abstraction needed?

1031


What is cohesion in oop?

1051


What are the 3 principles of oop?

1112


What does I oop mean?

1067


Is enum a class?

1052


What polymorphism means?

1067


What is for loop and its syntax?

1077


Why do we use oop?

1094


What is the benefit of oop?

1048


What is an interface in oop?

1036


What is encapsulation c#?

1073