Dear Tanya
To be very simple its just like
public class ANIMALS
{
Has features like head, body as instance variables
}
public class DOG extends ANIMALS
{
has features of ANIMALS with some more features
added to it like curved tail.
}
and it can be
public class CAT extends ANIMALS implements Barking
{
}
hope this is very very simple to understand
Regards
Sudhi
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/javaprogrammingwithpassion?hl=en
-~----------~----~----~----~------~----~------~--~---