Real questions for software designers, special object-oriented exercises (3)

Method overloading

A class can have multiple methods with the same name but different parameter type lists, called methods (39). (First half of 2015)
(39)A. OverloadingB. Call C. Reset D. Mark

Insert image description here

A class can have multiple methods with the same name but different parameter lists (parameter types or number of parameters or parameter type order), which is called (37). (First half of 2019)
(37) A. Method tag B. Method call
C. Method overloadingD. Method coverage

Insert image description here

Guess you like

Origin blog.csdn.net/weixin_50843918/article/details/135437705