HOLA!!!!
what is the main method()in java ??
pls help!!
Answers
Answered by
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
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
English,
5 months ago
Psychology,
5 months ago
Science,
5 months ago
English,
9 months ago
English,
9 months ago
World Languages,
1 year ago
Social Sciences,
1 year ago
English,
1 year ago