Respuesta :

Answer:

The answer is option 2. public static void main(String args[]);

Explanation:

The answer is public static void main(String args[]); let's understand this line:-

  1. public:-It is an access specifier that means whichever entity is public it will be accessible everywhere.
  2. static:-It means that there is only one copy of the method.
  3. void:-Void means that the method does not have any returning any value.
  4. main:-It is the name of the method.
  5. String args[]:-It is an array of strings which and it stores java command line arguments.User can use another name if the user want to.