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

Calling run() without calling start() will effectively
execute run() is a normal method.

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

Is This Answer Correct ?    5 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is flatmap in rxjs?

917


Is lambda cheaper than ec2?

912


What is spliterator in java se 8?

1084


What is class forname java?

895


Is java singleton thread safe?

856


How do I run a project in netbeans?

899


What is the use of entity class in java?

912


What is contextpath in java?

881


In system.out.println(), what is system, out and println?

989


What is the difference between ec2 and lambda?

872


In an htm form i have a button which makes us to open another page in 15sec.how will you do that?

1766


How do you count in java?

903


Which version of jdk is required for netbeans 8.0 2?

833


Why are command line arguments passed as a string?

914


How does jpa repository work?

904