CAN YOU DECLARE THE MAIN METHOD AS FINAL IN JAVA?

Royce Roy

Total Post:51

Points:255
Posted by  Royce Roy
Java 
 699  View(s)
Ratings:
Rate this:
  1. Mayank Tripathi

    Post:807

    Points:4035
    Can you declare the main method as final in java?

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

Answer

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!