Why class can''t extend more than one class, JAVA Programming

Why is an Interface be able to extend more than one Interface but a Class can't extend more than one Class?

Basically Java doesn't permit multiple inheritances, so a Class is restricted to extend only one Class. But an Interface is a pure abstraction model and doesn't have inheritance hierarchy like classes(do remember that the base class of all classes is Object). So an Interface is permitted to extend more than one Interface.

 

Posted Date: 7/3/2013 5:29:22 AM | Location : United States







Related Discussions:- Why class can''t extend more than one class, Assignment Help, Ask Question on Why class can''t extend more than one class, Get Answer, Expert's Help, Why class can''t extend more than one class Discussions

Write discussion on Why class can''t extend more than one class
Your posts are moderated
Related Questions
Smugglers are becoming very smart day by day. Now they have developed a new technique of sending their messages from one smuggler to another. In their new technology, they are send

How can we involve images within a web page using HTML and Java script? Images can be included in HTML through employing tag, below is the format of


Question: A new software engineer has joined Axistex Ltd. The systems analyst informs him that the organisation works with different operating system. The HR department works w

The SudCell Class A single cell in a Sudoku must clearly represent a number from 1 to 9 .  But in a solver context, we need much more.  It isn't enough to say "this c

What is JAR archives? JAR archives are ZIP archives along with a different extension. They contain a hierarchy of files and directories. In spirit a JAR file can take the place

Taking in Command Line Arguments In Java, the program can be written to accept command-line-arguments. Example Code:  command-line arguments /*  This

A framework is made up of the set of classes which permit us to use a library in a best possible way for a particular requirement.

New Fishing App Project Description: A new app for iPhone providing a GPS connected map of the fishery you are fishing at and other logged in users who are also fishing at th

Explain garbage collection. Java uses garbage collection to free the memory. By cleaning those objects which is no longer reference by any of the program. Step involve in clean