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

cant we call run() method directly instead of calling indirectly through the start()
method ? if we do so then what is the problem ?

Answer Posted / rajkiran bande

@Answer 5 : Yes. But you'll eventually end up in getting
IllegealThreadStateException when run() is invoked for the
second time.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is messaging queue in java?

946


Do I need both jdk and jre?

1002


explain isalive() method under thread class?

997


Why do we need framework in java?

829


How many types of jdk are there?

988


What is a stream in java?

929


What is a java proxy?

946


Can we write lambda without functional interface?

880


Is java installed on windows 10?

886


What is flatmap java?

960


What are the rules regarding quotation marks?

931


Why dependency injection is used in java?

1009


What are the authentication modes in asp.net? : java security

942


Can a method be static and synchronized?

1040


When is static variable loaded? Is it at compile time or runtime? When exactly a static block is loaded in java?

918