1.

Which of these is the method which is executed first before execution of any other thing takes place in a program?(a) main method(b) finalize method(c) static method(d) private method

Answer» Right answer is (c) static method

For explanation I would say: If a static method is present in the program then it will be executed first, then main will be executed.


Discussion

No Comment Found

Related InterviewSolutions