Friday 29 December 2017

3.3 Different ways of declaring main method

public static void main(String[] args)

static public void main(String[] args)

static public void main(String []args)

public static void main(String args[])

public static void main(String... args)

public static synchronized void main(String... args)

public static strictfp void main(String... args)

public static final void main(String... args)



Important points about main method.



No comments:

Post a Comment