Computer Science, asked by amitabhdas960, 1 year ago

When the main function is called it is called with the arguments?

Answers

Answered by BananaPants
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
Similar questions