Access Static Overload
Access Static Overload
Classes:
Access Modifiers
Static Members
Overloaded Methods
Access Modifiers:
Private → can only be used in the class that defines it.
Public → can be accessed by other classes.
Others: introduced in chapter 14
✓ Code two or more methods with the same name but unique combinations
of parameters sent.
✓ Each overloaded method has a unique signature.
❖ Either a different number of parameters or
❖ At least one of the parameters has a different data type
❖ Names of parameters are not part of the signature
❖ Return type is not part of the signature for overloading
✓ WHY?
❖ More than one way to invoke/ call/ transfer execution to a method.
✓ When typing overloaded method, up and down arrows appear to the left
of the argument list to indicate the method is overloaded.
Found under
Solution
Explorer
(once installed)