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

Calling run() without calling start() will effectively
execute run() in the current thread.

Calling start() will kick off a seperate thread,from your
current thread, which will then call run().

Is This Answer Correct ?    12 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is gpt and gpc? : java security

1032


Are streams faster than for loops?

926


What is java ioc?

885


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

982


Which framework is best for rest api java?

986


How does java handle integer overflows and underflows?

1049


Can we extract main method from another class?

969


What is stateless and stateful in java?

1027


How do I find jre version?

923


Which is faster c++ or java?

939


What is @resource annotation in java?

919


What is a context in java?

874


Explain the common use of ejb?

1101


What are the new features about Java se 8 ?

915


What is difference between map and flatmap in java 8?

879