program for define class ,define instance methods and overload them and use them for dynamic invocation | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
0

program for define class ,define instance methods and overload them and use them for dynamic invocation

program on class,methode , method overload

31st Jul 2017, 5:06 AM
sunil thakare
sunil thakare - avatar
1 ответ
- 1
class Example{ // class public void doSomething(){ // method // do something } public void doSomething(String input){ // overloaded method // do something, preferably with the input } }
31st Jul 2017, 7:38 PM
marit vandijk