分号的有关问题

分号的问题publicclassHello{publicstaticvoidmain(String[]args){System.out.println(

分号的问题
public   class   Hello   {;;;;;;;;;
        public   static   void   main(String[]   args)   {;;;;;;;;
                System.out.println( "nihao ");;;;;
        };;;;;;;;;;;;;;
};;;;;;;;;;;;;;
为什么这样的程序也能成功执行。

[解决办法]
up
[解决办法]
为什么不能
;代表一行语句啊
什么也不执行的语句
[解决办法]
;就是空语句,什么也不做
[解决办法]
就是
statement;;;;;;;相当于:
statement; (空语句);(空语句);(空语句);(空语句);(空语句);