Curioustab
Aptitude
General Knowledge
Verbal Reasoning
Computer Science
Interview
Aptitude
General Knowledge
Verbal Reasoning
Computer Science
Interview
Home
»
Interview
»
Technology
What is the return type of the main() method?
Correct Answer:
Main() method doesn't return anything hence declared void
← Previous Question
Next Question→
More Questions from
Technology
What is the argument of main() method?
Can a main() method be declared final?
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()?
Discussion & Comments
No comments yet. Be the first to comment!
Name:
Comment:
Post Comment
Join Discussion
Discussion & Comments