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
Why is class forname used in java?
What does jpa mean?
Which instutute is offering course for rhino jain slee
Which class is the superclass of every class?
What is meant by pass by reference and pass by value 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.
Why are lambda functions called lambda?
How can I write a program that takes command line input?
Explain the inheritance principle.
Why dependency injection is used in java?
Why there are no global variables in java?
Which type of stream is in java?
What is rxjava2?
What is default constructor in java?
What does public static void main(string[]) mean?