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 / rajkiran bande

@Answer 5 : Yes. But you'll eventually end up in getting
IllegealThreadStateException when run() is invoked for the
second time.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is java lang?

441


What happens if javac is not recognized?

438


Are streams faster than for loops?

498


Which method is used to create the daemon thread?

549


What is meant by rest api in java?

474






Why is javac not recognized?

499


What if I write static public void instead of public static void?

470


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

514


Which interceptor is responsible for setting action javabean properties?

436


If you’re overriding the method equals() of an object, which other method you might also consider?

516


What is flatmap java?

496


What is persistence xml in java?

501


What is jep in java?

468


How do I install eclipse?

481


What is lambda expression in mvc?

477