Is this a well known design pattern? What is its name?

前端 未结 8 1596
滥情空心
滥情空心 2020-12-06 04:54

I have seen this often in code, but when I speak of it I don\'t know the name for such \'pattern\'

I have a method with 2 arguments that calls an overloaded method t

8条回答
  •  庸人自扰
    2020-12-06 05:08

    The name of that is overloading and it's not a design pattern but a OOP feature

    http://en.wikipedia.org/wiki/Method_overloading

提交回复
热议问题