aspose file tools*
The moose likes Beginning Java and the fly likes relationship Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "relationship " Watch "relationship " New topic
Author

relationship

mohanasundaram muthukannan
Ranch Hand

Joined: May 29, 2008
Posts: 35
Hi,

difference between the "is-a" and the "has-a" relationship ?

Thanks in advance
Mohan
Jesus Angeles
Ranch Hand

Joined: Feb 26, 2005
Posts: 2057
Non-computer-related language:

John has a cat.

Garfield is a cat.

Computer-related:

class John {
Cat pet;
}

class Garfield extends Cat{
}
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: relationship