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
Advertisement
Related Tutorial and Articles
Advertisements Advertisements
 

 

 

DMCA.com