+91-85006-22255
Which of the following classes fail to compile?
abstract class X { abstract void method(); }abstract class Y extends X { void Method() { } }class Z extends X { void method() { } }
Topic: Rules For Abstract Methods and Abstract Classes
Read this topic Take test on this topic
Open In App