can we override the main() method in java????

Answer Posted / zameer

Yes we can override the main() method in java but that main() method are not declare static keyword.
If main() method is static then we can not override

Is This Answer Correct ?    4 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a java applet? What is an interface?

874


What is the purpose of stub and skeleton?

773


What is the diffrence between inner class and nested class?

835


What is use of a abstract variable?

758


What is the difference between post and put?

787


How can you traverse a linked list in java?

917


Can a method inside a interface be declared as final?

744


What is parseint?

739


What is the list interface in java programming?

816


What is java english?

697


What is a protected method?

877


Does A Class Inherit The Constructors Of Its Superclass?

790


How objects of a class are created if no constructor is defined in the class?

825


explain multi-threading in java?

801


What is array pointers ?

822