PDA

View Full Version : static modifer removed from main method


javaguru
22-12-2009, 08:17 PM
What if the static modifier is removed from the signature of the main method?

javaguru
22-12-2009, 08:18 PM
What if the static modifier is removed from the signature of the main method?
Program compiles. But at runtime throws “NoSuchMethodError” exception.