8.3k views
3 votes
A key part of enabling the JVM to locate and call method main to begin the app’s execution is the ________ keyword, which indicates that main can be called without first creating an object of the class in which the method is declared.

1 Answer

3 votes

Answer: static

Step-by-step explanation:

In java we have the static keyword to indicate that it can be called without creating an object of the class.

example :

public static void main(String arg[])

So, main can be called without creating an object of the class.

User Jon Steinmetz
by
8.7k points
Welcome to QAmmunity.org, where you can ask questions and receive answers from other members of our community.