The expected signature of the main method is public static void main(). what happens if we make a mistake and forget to put the static keyword ?
Answers
Answered by
0
there is no problem and the compiler takes it like any other method
Answered by
0
The Jvm fails at runtime NosuchMethodError
Similar questions