Creating a Thread
class TwoThreads{
public static void main(String[] args) {
SimpleThread t1 = new SimpleThread();
SimpleThread t2 = new SimpleThread();
t1.start();
t2.start();
}
}
Previous slide
Next slide
Back to first slide
View graphic version