0
is it possible to call main method from other class
5 Answers
+ 1
yes but the class need to have within same package , having has a or is a relationship between classes
0
yes we can call
0
how we can call
0
You can cLl it by extending the class
0
create object of class and call as obj.main(argument) pass argument type of array