JVM is able to access class having main method without creating any object…

PYQ RPSC Programmer 2013

JVM is able to access class having main method without creating any object because

  1. A.

    main method is the first method to be declared

  2. B.

    that is its inherent property

  3. C.

    it makes explicit call to main method

  4. D.

    main method is declared as public and static

Attempted by 4 students.

Sign up free to check your answer

Sign up free

Explore the full course: Rpsc Programmer

Loading lesson…