Please restate your question. What are you trying to do? Can you give an example of a situation that requires defining or coding the relationship between classes?
Learning Java using Eclipse on OpenSUSE 11.2
Linux user#: 501795
Joined: Nov 15, 2010
Sorry for not being clear...
@Greg Brannon :What i wanted to ask was that how should i implemement the code if there is a generalization relationship for example:Like if a truck is made up a number of parts.
My doubt is that how do i represent this reationship between two calsses of truck and parts in the code.
Is it there to just help us understand the situation or do we need to implement the relationship in the code.Please help........