Is there is any error if you have multiple main methods in
the same class?

Answer Posted / someone else

this is not overriding,,,,,it is over hidding

Is This Answer Correct ?    1 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you sort objects in java?

522


why java uses class level type casting ?

2256


What is unsigned char?

629


What is java in layman terms?

531


What are 3 data types?

549






What is private protected in java?

555


What are dot operator queries?

634


Is minecraft 1.15 out?

551


What is a generic code?

528


What are generic methods?

537


What is a stringbuffer?

517


Explain the private field modifier?

613


What is the function of character?

529


What are the different types of inheritance in java?

536


Where are register variables stored?

594