1.

Is The Following Code Written Correctly? Class A { //class A } Interface B Extends A { //interface B Extending Class A }

Answer»

No. An INTERFACE can EXTEND ANOTHER interface not the CLASS.

No. An interface can extend another interface not the class.



Discussion

No Comment Found

Related InterviewSolutions