While playing around with main method in my
Java code, I got this error message :
"Illegal modifier for the method main; only public, protected, private,
abstract, static, final, synchronized, native & strictfp are permitted."
Upon reading the complete list, I found abstract keyword is permitted but I can't get the reason why this keyword is allowed as main is a static method. Can anyone please throw some light on it.