Home > DeveloperSection > Interviews > Can you declare the main method as final in java?

Posted on    April-01-2015 12:44 AM

 Java Java 
Ratings:
 1 Answer(s)
  477  View(s)
Rate this:

Mayank Tripathi
Mayank Tripathi

Total Post:807

Points:4035
Posted on    April-01-2015 1:21 AM

Yes, such as, public static final void main(String[] args){}.

Don't want to miss updates? Please click the below button!

Follow MindStick