New course! Every coder should learn Generative AI!
Try a free lesson+ 1
what is overloading in programming languag
2 Answers
+ 2
same method name. but with different arguments
+ 2
so u could have one method-sort (String s)
and another - sort (int i)
here the method sort is being overloaded