
what is mean public static void main?

public-It indicates that the main() method can be called by any object.
static-It indicates that the main() method is a class method.
void- It indicates that the main() method has no return value.
main-It is required because compiler understands this method as starting method.
(String args[])-It is used for receiving any arbitrary number of arguments and save it in the array.
For more information, visit the following link:

public static void main(String args[]) {
public => means you can call this method from any where
static=> keyword in java means you don't need object for this you can directly call it.
void => means this method is not returning any thing.
suppose method returns string data then you can use string instead of void.
String args[]=>>may takes arguments from command line.
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.