0

How to invoke methods

6th Mar 2017, 1:08 PM
Kishan Mittal
5 Respostas
+ 2
for public methods objectName.methodName(parameters);
6th Mar 2017, 1:12 PM
Bekir Uzun
Bekir Uzun - avatar
+ 2
ClassName objectName=new ClassName(); objectName.methodName(parameters); If method is static, you can call it directly. ClassName.methodName(parameters);
6th Mar 2017, 2:30 PM
Meharban Singh
Meharban Singh - avatar
+ 1
thanks
6th Mar 2017, 2:45 PM
Kishan Mittal
0
thanks
6th Mar 2017, 1:42 PM
Kishan Mittal
0
thanks
6th Mar 2017, 1:42 PM
Kishan Mittal