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
What is a container in java?
What is cmp in java?
Explain working of java virtual machine (jvm)?
what are the different phases in delivering the project during development and maintenance?
How do I download and install eclipse on windows 10?
What is java net url?
What is the use of rs next () in java?
What are orm tools in java?
What are microservices in java?
there are 67 seats in train . there are only 5 seats in a row and in last row there are only 2 seats. One person can reseve only 5 seat at a time. If person reserving seat , the care is atken that he may get all in row. if seats are not available in row then the arrangement is so that person group get nearby seats. the following class is given public class seat { char name; int seat; boolean isSeatempty } 1.Draw require class digram and object diagram. 2.Write function seatallot(int noofperson) to allocate seat with seat nuber printed for the each name.
What's the difference between local, global and universal groups? : java security
What is mdb in java?
Can we use lambda without functional interface?
What is lsdou? : java security
Which version of jdk is required for netbeans 8.0 2?