The 'main()' method in Java is referred to the thread that is running, whenever a Java program runs. It calls the main thread because it is the first thread that starts running when a program begins. Other threads can be spawned from this main thread. The main thread must be the last thread in the program to end. When the main thread stops, the program stops running. Main thread is created automatically, but it can be controlled by the program by using a Thread object. The Thread ...
thanks...
sorry for all the questions
thanks...
06-14-2013, 02:22 PM in gbonecapone