Curioustab
Aptitude
General Knowledge
Verbal Reasoning
Computer Science
Interview
Aptitude
General Knowledge
Verbal Reasoning
Computer Science
Interview
Home
»
Interview
»
Technology
Can a main() method be declared final?
Correct Answer:
Yes Any inheriting class will not be able to have it's own default main() method
← Previous Question
Next Question→
More Questions from
Technology
Does the order of public and static declaration matter in main() method?
Can a source file contain more than one class declaration?
Which package is imported by default?
Can a class be declared as protected?
What is the purpose of declaring a variable as final?
I do not want my class to be inherited by any other class. What should i do?
When will you define a method as static?
How is final different from finally and finalize()?
Which king class properly represents the relationship "King has a best friend who is a Soldier"?
How many of the following will follow JavaBean Listener naming rules? addListener addMouseListener deleteMouseListener removeMouseListener registerMouseListener
Discussion & Comments
No comments yet. Be the first to comment!
Name:
Comment:
Post Comment
Join Discussion
Discussion & Comments