Program compiles. But at runtime throws an error "NoSuchMethodError". This is the case before Java 1. 6 version but for Java 7 and onwards it will throw a Launch error : Selection does not contain a main type
Liked By
Write Answer
What if the static modifier is removed from the signature of the main method?
Join MindStick Community
You have need login or register for voting of answers or question.
Anonymous User
20-Jul-2015