Computer Science, asked by vagisha1658, 1 year ago

What is the signature of program entry point main() function?

Answers

Answered by ptlriddhi24
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