This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Customer Requirements for Developers and have Marcho Behler on-line!
See this thread for details.
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


Win a copy of Customer Requirements for Developers this week in the Jobs Discussion forum!
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: 2066
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
 
It's not a secret anymore!