a) main method
b) finalize method
c) static method
d) private method
Answer: a
Explanation: main() method can be defined only once in a program. Program execution begins from the main() method by java runtime system.
Related Posts
What would be behaviour if the constructor has a return type?
What would be the behaviour if one parameterized constructor is explicitly defined?
What is not the use of “this” keyword in Java?
What is true about protected constructor?
Abstract class cannot have a constructor.
What is true about constructor?
What is true about Class.getInstance()?
Join The Discussion