Single Choice Not Set

QThe main method should be static for the reason

ID: #2181 Java Constructor and Methods 3,370 views
Question Info
#2181Q ID
Not SetDifficulty
Java Constructor and MethodsTopic

Choose the Best Option

Click any option to instantly check if you're correct.

  • A It can be accessed easily by the class loader.
  • B It can be accessed by every method or variable without any hindrance.
  • C It can be executed without creating any instance of the class.
  • D None of the above
Correct Answer

Explanation

It can be executed without creating any instance of the class.

Share This Question

Challenge a friend or share with your study group.