What is the signature of program entry point main() function?
Answers
Answered by
0
Answer:
A method signature is a collection of information about the method, and that includes the name, type (e.g., static or non-static), visibility (e.g., public, private, etc.), arguments (e.g., formal parameters), and return type.
The main method is the entry point of the JVM when the class in launched. The JVM launchs the Java program by invoking the main method of the class identified in the command to start the program. The method main must be declared public, static, and void. It must accept a single argument that is an array of strings.
Explanation:
public, private, protected is a visibility modifier which also known as access Specifier.
void,static,pubic etc. is a keyword
Similar questions
English,
6 months ago
Social Sciences,
6 months ago
Math,
1 year ago
English,
1 year ago
English,
1 year ago