Java Interview Questions by Mr Kotiyana

Java Interview Questions by Mr Kotiyana

Author:Mr Kotiyana [Kotiyana, Mr]
Language: eng
Format: epub, azw3, pdf
Published: 2017-05-16T07:00:00+00:00


What is the argument of main() method?

main() method accepts an array of String object as an argument.

Can a main() method be overloaded?

Yes. You can have any number of main() methods with different method signature and implementation in the class.

Can a main() method be declared final?

Yes. Any inheriting class will not be able to have it's own default main() method.

Does the order of public and static declaration matter in main() method?

No. It doesn't matter but void should always come before main().



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.