Why is an interface be able to extend more than one interface but a class can’t extend more than one class?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More Core Java Interview Questions

Is it safe to install java on my computer?

0 Answers  


What are the core java topics?

0 Answers  


What are keywords give examples?

0 Answers  


Is 0 an irrational number?

0 Answers  


Interface A { String test(); } Interface B { int test(); } Create a class AB which must implements both A & B interfaces.

17 Answers   Hewitt,






Where the CardLayout is used?

1 Answers  


What are the kinds of polymorphism?

0 Answers  


How is final different from finally and finalize?

0 Answers  


What does main method?

0 Answers  


Can a class be declared as protected?

0 Answers  


What does yield method of the thread class do?

0 Answers  


What is natural ordering in java?

0 Answers  


Categories