1.

Which of the below is invalid identifier with the main method?(a) public(b) static(c) private(d) final

Answer» Correct option is (c) private

Easy explanation: main method cannot be private as it is invoked by external method. Other identifier are valid with main method.


Discussion

No Comment Found

Related InterviewSolutions