What is method overloading in apex?

Two methods with the same names but different parameters, when used in a class, is known as overloading in apex.

Public void addition (integer a, integer b){} Public void addition (integer a, integer b, integer c){})

About the author

By Rohit

Recent Posts

Recent Comments

Archives

>