79432864

Date: 2025-02-12 11:25:38
Score: 3
Natty:
Report link

Because main function is a static function, to call another non-static variable/function, you need to create an object in the main function. The contents of the main function are not static/non-static themselves but the main function is. Also, no object is static/non-static in JAVA.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Anonymous