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 ?
compiled successfully and after running error msg came main method is not static in class please add this as public static void main (String args)
compile successfuly and no such found the main method
Shaikh Tehniyat is saying The JVM successfully invokes the main method is correct answer
Aisha Bashir from Lagos, Nigeria is saying The JVM successfully invokes the main method is correct answer