Summarize the characteristics of constructor in sub class.
Answers
Answered by
0
Answer:
characteristics :
An interface cannot have the constructor.
Constructors cannot be private.
A constructor cannot be abstract, static, final, native or synchronized
A constructor can be overloaded.
Constructors cannot return a value.
Constructors do not have a return type; not even void.
An abstract class can have the constructor.
Constructors name must be similar to that of the class name inside which it resides.
hope it helps you!!!
Please mark me as a brainlist!
Similar questions