A constructor name is same as __________.
Answers
Answered by
1
Answer:
the constructor name should be the same as the class name
Explanation:
Answered by
1
Answer:
A constructor name is same as a class name so that the compiler knows before hand which method to call when an object is created
Similar questions