Hi Dian,
Yes it is!
A main method can be declared final private, public,protected or friendly(default). If any method is declared final then the method can not be overridden in it's subclass. See the two codes given below (filemname MainTest.java):
code 1 : run it with
java MainTest
code 2 : run it with either java MainTest or java Super
Hope it will help you!
------------------
azaman