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
What is java lang noclassdeffounderror?
How do I open my java console?
Does ms edge support java?
What is the difference between java se and java ee?
What is use of jpa?
What is jpa entitymanager?
Who created eclipse?
What is ehcache in java?
What is javax annotation generated?
What is a uint8?
What is scrollable resultset in java?
Write a program for the following topic - switch case,looping using fuction calling,nesting,console input output. Aim- to print a menu:- 1-series 2-single value. Each menu having sub menu armstrong or perfect.
1.can i use super keyword in normal class(not inheritance) to call any method?if so how can i call particular variable? 2.In the inheritance how can i access the particular variable from the base class(it containing 5 variables) using super keyword?
What is the use of flatmap in java 8?
What is flatmap in rxjs?