0
How to invoke methods
5 Answers
+ 2
for public methods
objectName.methodName(parameters);
+ 2
ClassName objectName=new ClassName();
objectName.methodName(parameters);
If method is static, you can call it directly.
ClassName.methodName(parameters);
+ 1
thanks
0
thanks
0
thanks