if I have the following class
When I run the above class, will it be threaded or not, or do I have to create another class to handle threads?
Code:
public class p1 extends Threads{
public static main void(){
run();
run();
}
static void run(){
//Code here
}
}
Comment