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

Posted on    April-01-2015 12:44 AM

 Java Java 
 1 Answer(s)
  653  View(s)
Rate this:

Mayank Tripathi
Mayank Tripathi

Total Post:807

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