can we overload main method?

Answer Posted / pradeep

yes i agree with chetak. we can overload but we can't override

Is This Answer Correct ?    7 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the generic class?

529


Explain the use of shift operator in java. Can you give some examples?

537


What is collection sort in java?

551


What are keywords and reserved words in java?

554


When is the finally clause of a try-catch-finally statement executed?

497






What is static import in java?

528


What is static in java?

555


What if the main() method is declared as private? What happens when the static modifier is removed from the signature of the main() method?

680


What is the effect of keeping a constructor private?

471


How to add menushortcut to menu item?

559


What is jvm? Why is java called the platform independent programming language?

541


How can I right-justify a string?

623


What is java in simple terms?

555


How many bits are in a sentence?

579


What is difference between null and void?

529