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

In java what is the difference between sleep() and wait() .

969


What are the new features about Java se 8 ?

906


What about 'hostile applets'? : java security

920


How do I open java console?

922


What is transactional in java?

1027


What is a yaml file in java?

988


What is messaging queue in java?

965


What is a jvm?

945


What is java web application?

883


Is jprofiler open source?

909


What is the use of servlet in java?

952


Describe life cycle of thread?

984


What java systems libraries and methods are available for me to use?

857


explain how java se 8 data and time api solves issues of old java date api?

950


Can a method be static and synchronized?

1054