Question: An overloaded method consists of the same method name with different types of parameters. the same method name with different number of parameters. the same
An overloaded method consists of
- the same method name with different types of parameters.
- the same method name with different number of parameters.
- the same method name with a different return type.
Select one:
a) 1
b) Both (1) and (2) above.
c) (1), (2) and (3) above.
d) 3
e) 2
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
