how its run?
Answer / Jeetesh Garbyal
In Java, the 'run' method is typically used in the context of Runnable interfaces. The purpose of the run() method is to define the task or behavior that needs to be executed by a separate thread from the main application thread. To start the execution of this task, you would first create an instance of a class implementing Runnable and then pass it as an argument to a Thread constructor or executor service.
| Is This Answer Correct ? | 0 Yes | 0 No |
Which package is imported by default?
Why declare Main() inside the class in java ?
What are the important features of Java 9 release?
What is replaceall in java?
how to print the below in java?thanks in advance.... * * * * * * * *
What is a default constructor and also define copy contrucyor?
what are Hostile Applets?
How to know the host from which Applet is originated?
why doesn't java run on all platforms?
Is minecraft java edition free?
Is an empty arraylist null?
What is token in java?