a) More than one method with same name, same signature, same number of parameters but different type
b) More than one method with same name but different method signature and different number or type of parameters
c) More than one method with same name, same signature but different number of signature
d) More than one method with same name, same number of parameters and type but different signature
Answer: d
Explanation: Overloading occurs when more than one method with same name but different constructor and also when same signature but different number of parameters and/or parameter type.
Related Posts
What would be behaviour if the constructor has a return type?
What would be the behaviour if one parameterized constructor is explicitly defined?
What is not the use of “this” keyword in Java?
What is true about protected constructor?
Abstract class cannot have a constructor.
What is true about constructor?
What is true about Class.getInstance()?
Join The Discussion