Can I call main method ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Can I call main method ?

18th Aug 2017, 4:18 PM
thagallapally shiva teja
thagallapally shiva teja - avatar
3 Answers
+ 3
From the same class: main(args); From other class: Program.main(aStringArray);
18th Aug 2017, 4:21 PM
Rrestoring faith
Rrestoring faith - avatar
0
The operation system calls the main function.
18th Aug 2017, 4:22 PM
Ahmet
Ahmet - avatar
0
yes sure u can call
18th Aug 2017, 4:22 PM
corejava