adplus-dvertising
frame-decoration

Question

Choose the correct statement about following code snippet given below:
interface a1
 {
     void f1();
     void f2();
 }
 class a :a1
 { 
     private int i;
     void a1.f1()
     {
     }
 }

a.

Class a could not have an instance data

b.

Class a is an abstract class

c.

Class a fully implements the interface a1

d.

None of the mentioned

Answer: (b).Class a is an abstract class

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Choose the correct statement about following code snippet given below: