In the package Explorer, which of the following classes we can run directly?

  1. A public class which contains a main method with proper signature (Arguments, return types etc).

  2. We can run any classes

  3. Only those classes which have public no argument constructors.

  4. None of these


Correct Option: A

Find more quizzes: