15.Which propertry of inheritance cannot be inheitate?
Answers
Answered by
0
The car (subclass) inherits all of the vehicle's properties. The inheritance mechanism is very useful in code reuse. The following are some limitations of Java class inheritance: A subclass cannot inherit private members of its superclass. Constructor and initializer blocks cannot be inherited by a subclass.
Similar questions
English,
6 months ago
Physics,
6 months ago
Computer Science,
1 year ago
Social Sciences,
1 year ago
Social Sciences,
1 year ago