What is the is a and has a relation ship in oops concept in
java?
Answer Posted / vashisht rakesh
Yea you right.
is-a represent the inheritence
and
has-a represents the delegation/association
for example
Chair is a type of Furniture
and
Furniture has a relationship with chair
| Is This Answer Correct ? | 33 Yes | 5 No |
Post New Answer View All Answers
What is a buffer in java?
Is sizeof a keyword in java programming?
whatis Home interface and Remoteinterface? with example?
Write java program to reverse string without using api?
Are floats faster than doubles?
Difference between throw and throws?
What is the tradeoff between using an unordered array versus an ordered array?
How does java enable high performance?
How do you override a variable in java?
Difference between current previous versions of Java?
How do I write a self declaration?
Can there be an abstract method without an abstract class?
What is the declaration statement?
What is a local block?
Where pragma is used?