0
How to call method without object
11 ответов
+ 1
methodname ();
+ 1
if the method is in the same class, then call it without the class name
0
Make the method static?
0
no
0
Why not?
0
this is tell worng
0
😕😕
0
you write the method is static
0
ok how to call method form main
0
ClassName.methodName();
0
ok thanks