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
It could be something simple for a good js coder. But there may be a custom design and I can give more feedback for the person who is interested in working with me. Check Invisi

I have a parser. it is written in Java. I need to add a hash table to it. I am wondering about if you can do it.

What is bandwidth? In a general way Bandwidth is a capacity of communication channel of carrying data.

Opengts Geozone violation alerts Project Description: I am seeking a very reliable, articulate and an experienced Java and MySQL developer to customize the Device Communicati

Question: (a) Explain the event handling mechanism using a 'JComboBox' as example. Your answer must clearly indicate the event source, event object and event listener. Also

Component classes generally move the task of generating output to the renderer. All JSF components follow it. Render kit is a set of related renderers. javax.faces.render.RenderKit

Does the java applet using swing components, JAVA Programming on this contain all the source codes for download?

How we can changing the Implementation ? Suppose the Car class requires to be used in a simulation of New York City traffic in that each actual car on the street is represente

can you tell me what the code for a 2d random java array using Recursive Division Maze Generation

What is the role of hub in networks? The network traffic controller - elements of convential computer networks. Hub is used to link the different computers within the network i