Can the main() method be specified as private or protected?
main()
Will it compile?
Will it run?
Yes, it will compile. But it wil not run as entry point of the program.
Java looks for the public main method signature. If any of the modifiers is different, then it wil assume it as some other method.
run and test 4 urself. :)