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
What is flatmap in rxjs?
Is lambda cheaper than ec2?
What is spliterator in java se 8?
What is class forname java?
Is java singleton thread safe?
How do I run a project in netbeans?
What is the use of entity class in java?
What is contextpath in java?
In system.out.println(), what is system, out and println?
What is the difference between ec2 and lambda?
In an htm form i have a button which makes us to open another page in 15sec.how will you do that?
How do you count in java?
Which version of jdk is required for netbeans 8.0 2?
Why are command line arguments passed as a string?
How does jpa repository work?