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 aop java?

627


Does jvm maintain a cache by itself? Does the jvm allocate objects in heap? Is this the os heap or the heap maintained by the jvm? Why

649


What are the authentication modes in asp.net? : java security

677


What does jpa mean?

682


What is jpa project?

639


What is interceptor in java?

652


What about products that claim to detect malicious applets? : java security

640


What is the difference between Logical Parallelism and Physical Parallelism?

3173


What is rxjava2?

662


Why is javac not recognized?

645


Can I use openjdk for commercial?

711


What is setstring method in java?

709


How do I install jdk?

651


What are the advantages of lambda functions?

705


What is a jpa repository?

662