Menu
Question Index
...

Which of the following classes fail to compile.

abstract class I
{
    abstract void i1();
}

abstract class J extends I
{
    void i1() {}
}

abstract class K extends J
{
    abstract void i2();
}


I, J, K
J, K
K
All of them compile

Doubts

Problems

Topic: Rules For Abstract Methods and Abstract Classes

Read this topic
Take test on this topic

0
Wrong
Score more than 2 points

© meritcampus 2019

All Rights Reserved.

Open In App