can we overload main method?

Answer Posted / sujith.v.m

Yes,
Because signature is different in main function so it will be overloaded.

Is This Answer Correct ?    5 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the differences between the constructors and methods?

576


In which order the iterator iterates over collection?

583


What is difference between checked and unchecked exception in java?

578


Are registers volatile?

533


What are the types of exceptions?

591






What is the purpose of lambda expressions?

584


What does the exclamation mark mean in java?

596


What is increment in java?

526


Hi friends am new to java. I read jar file means collection of java files. For executing struts application what are the necessary jar files. " struts.jar " file contains what. can u explain

1435


How does a for loop work java?

542


What do heavy weight components mean in java programming?

525


What is the range of the short type?

584


What is consumer interface?

558


Why does java not support pointers?

551


a thread is runnable, how does that work? : Java thread

513