0 votes
in JAVA by
Explain about main() method in java ?

Main() method is starting point of execution for all java applications.

public static void main(String[] args) {}

String args[] are array of string objects we need to pass from command line arguments.

Every Java application must have atleast one main method.

Related questions

0 votes
asked Jun 16, 2019 in JAVA by reins.robin
+1 vote
asked Jun 17, 2019 in JAVA by reins.robin
...