what is public static void main string args


What is 'public static void main (String args[ ] ) ' signifies?

  • Access specifier is the 'public' keyword.
  • 'static' keyword allows main() to called without instantiating a specific instance of a class.
  • 'void' affirms the compiler that no value is returned by main().
  • 'main()' method is called at the beginning of a Java program.
  • 'String args()' tells a parameter named args, which is an instance array of class String

 

Request for Solution File

Ask an Expert for Answer!!
JAVA Programming: what is public static void main string args
Reference No:- TGS0355121

Expected delivery within 24 Hours