public static void main(String args)....explain each term in basic &higher manner pls...........
Meaning of Public Static Void Main
It provides the "entry point" for the program. Whenever the program excutes, the main method is always called.
public.....The main method must be public because it is call from outside the class. It is called by jvm.
static....The main method must be static because without creating an instace jvm can call it. If the main method is non static then it is must to create an instance of the class.
void....Main method doesn't return anything therefore it is void also.
(String args)....It is used for receiving any arbitirary number of arguments and save it in the array.
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.