Menu
Question Index
...

Given the following class hierarchy:

class A
{
}

class B extends A
{
}
Identify the incorrect statement.


B is the sub-class where as A is super-class.
B is the super-class where as A is sub-class.
Every object of class A is not necessarily also an object of class B.
Every object of class B is also an object of class A.

Doubts

Problems

Topic: Is-A Relationship In Java

Read this topic
Take test on this topic

0
Wrong
Score more than 2 points

© meritcampus 2019

All Rights Reserved.

Open In App