Social Sciences, asked by sbbrahma8079, 1 year ago

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 sbongobongo
0
there is no problem and the compiler takes it like any other method
Answered by akshaypokharkar51
0

The Jvm fails at runtime NosuchMethodError

Similar questions