Thread
: class of threads of executions
run()
: a Runnable
object method executed by start()
start()
: start the thread
getName()
: returns thread name
getPriority()
: returns thread priority
class ThreadTest1 extends Thread{
public void run(){
Thread t = new ThreadTest1();
t.start();
System.out.println(getName()
" has priority "+ getPriority());+