Home > DeveloperSection > Interviews > What if the static modifier is removed from the signature of the main() method?

Posted on    August-23-2014 6:07 AM

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

Sumit Kesarwani

Total Post:782

Posted on    August-23-2014 12:00 AM

Program compiles. But at runtime throws an error "NoSuchMethodError".

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

Follow MindStick