GoConqr has a new look! Let us know what you think.

Notes

java

kartheek p English 2 pages

Content of the notes (2)

Page 1

Page 2

What is not possible using java class Inheritance?

1. Private members of the superclass are not inherited by the subclass and can only be indirectly accessed.

2. Members that have default accessibility in the superclass are also not inherited by subclasses in other packages, as these members are only accessible by their simple names in subclasses within the same package as the superclass.

3. Since constructors and initializer blocks are not members of a class, they are not inherited by a subclass.

4. A subclass can extend only one superclass

Information

Description
Note on java, created by kartheek p on 18/02/2019.
Created by
kartheek p
Views
0
Rating

Feedback

What is it about?

What do you think of the new look?

How do you like it?