Friday, March 13, 2009

main-method-valid-declarations



class DiffMain
{
//static public void main(String[] args)

//final static public void main(String[] args)

//public static synchronized void main(String arg[])

public static final synchronized void main(String arg[])
{


System.out.println("hello world");

}
}



0 comments:

Post a Comment