Home Tutorialhelp Comment why a class can extend only one class ?

 
 

Comment

srujan kumar
why a class can extend only one class ?,
October 24, 2009 at 1:34 PM

but it will implement n no.of interfaces why is it so?.........
and one more is see this example

class A extends class B{
------------------
---------------------
}
we know that every class is a sub class of Object class so in this example is class A extends two classes ie..class B & Objectclass or what is actually happening
View All Comments | View Tutorial
Related Tutorial and Articles

Ask Questions?

If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.

Ask your questions, our development team will try to give answers to your questions.