Basic and Advance Java Question:
What invokes a thread’s run() method in Java Programming?
Answer:
After a thread is started, via its start() method or that of the Thread class, the JVM invokes the thread’s run() method when the thread is initially executed.
Previous Question | Next Question |
Which class is the superclass for every class in Java Programming? | What is the difference between the Boolean & operator and the && operator in Java Programming? |