Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок0
Can I overload a method by creating methods with the same name but changing both the return type and the parameters? Or does it work only when I change the parameters...
2 ответов
+ 2
parameters actually go with return type...u can't possibly return a double for an int parameter
0
you can do that, if you change both it works