When a default constructor is considered as parameterized constructor ?
Answers
Answered by
3
Answer:
Regardless of any inheritance. But when PARAMETERIZED constructor is declared, then it's COMPULSION to write syntax of default constructor because while compiling the compiler needs to compile the function,etc. As we declared parameterized it would also search for non parameterized one cause it's its default format.
Explanation:
pls make it brainlest answer
Answered by
1
Answer:
You can't call a default constructor once you've created a constructor that takes arguments. You'll have to create the no argument constructor yourself in order to make a call from the parameterized constructor.
Explanation:
PLEASE MARK ME AS THE BRAINLIEST
Similar questions