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

Advertisements

If you enjoyed this post then why not add us on Google+? Add us to your Circles