Thursday, February 12, 2009

What if the static modifier is removed from the signature of the main method

Question :What if the static modifier is removed from the signature of the main method?
Answer :Program compiles. But at runtime throws an error "NoSuchMethodError".

No comments: