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

Answer Posted / kapil

yes we can override the main method but different argument
bcz jvm always look for String[] args argument

Is This Answer Correct ?    2 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is OOP's Terms with explanation?

592


What is nested class?

554


What environment variables do I need to set on my machine in order to be able to run java programs?

586


Does substring start with 0?

541


What are the topics in advance java?

499






Explain java coding standards for interfaces?

611


How to call one constructor from the other constructor ?

590


How can you set the applet size?

561


What are the classes of java?

528


What are new features introduced with java 8 ?

540


Is java a pure object oriented language?

529


Can java object be locked down for exclusive use by a given thread?

564


Is map sorted in java?

556


How would you use Bubble Sort to sort the number of elements?

568


Give differences between Quicksort & Mergesort. When should these sorts be used and what is their running time?

562