In Java, what is the meaning of sentence 'public static void main'?
Answers
Answered by
1
The keyword public static void main is the means by which you create a main method within the Java application. It's the core method of the program and calls all others. It can't return values and accepts parameters for complex command-line processing.
Hope this helps!!
Hope this helps!!
Answered by
0
Answer:
Here's ur answer!!
Explanation:
Every word in the public static void main statement has got a meaning to the JVM. Public :-) it is an access modifier, which specifies from where and who can access the method.....
The main:-) method is static so that JVM can invoke it without instantiating the class..
Hope this will help u!!
Similar questions