Can an interface extands a class?

Answer Posted / kishor

No,

Interface extends one or more interfaces.

but not class or classes.

class extends class, but not classes.

class implements one interface , more interface..

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the internal implementation of set in java?

493


What is encapsulation in java?

613


Explain java coding standards for variables ?

663


What value is a variable of the string type automatically initialized?

605


What are the advantages of java?

506






What's the access scope of protected access specifier?

530


What is the use of string and stringbuffer?

540


Define a package.

562


What is an object in java and how is it created?

579


Can constructor be inherited?

572


Can singleton class be serialized?

508


Difference between ‘is-a’ and ‘has-a’ relationship in java?

533


What is return null in java?

503


Explain the scope or life time of class variables or static variables?

509


Which collection allows duplicate values in java?

541