Computer Science, asked by geetika58, 9 months ago

HOLA!!!!
what is the main method()in java ??
pls help!!

Answers

Answered by Lenivinolen73
1

Answer:

Java main method is the entry point of any java program. Its syntax is always public static void main(String[] args) . You can only change the name of String array argument, for example you can change args to myStringArgs

Answered by Rohanlalani12
1

main method is like the heart of a class

this method is used to make a class runnable and also this method declares that the class can be used as the main class of the java project

This method contains all the statements that define the look and feels of the class plus give the class its constraints

Similar questions