When the main function is called it is called with the arguments?
Answers
Answered by
3
If the main method is static then,
[MethodName].main();
If the main method is non-static then,
[ClassName] [ObjectName]= new [ClassName];
[ObjectName].main();
Hope it helps .
Plz Mark as Brainlist
[MethodName].main();
If the main method is non-static then,
[ClassName] [ObjectName]= new [ClassName];
[ObjectName].main();
Hope it helps .
Plz Mark as Brainlist
Similar questions
Math,
7 months ago
Computer Science,
1 year ago
Environmental Sciences,
1 year ago
Math,
1 year ago
Math,
1 year ago