Java Interview questions/November 3, 2014/ nandu What if the static modifier is removed from the signature of the main method? Program compiles. But at runtime throws an error “NoSuchMethodError”.