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
Is empty set an element of empty set?
What is the purpose of sizeof operator?
Which collection does not allow duplicates in java?
What is a protected method?
What is composition in java?
How do you sort in ascending order in java?
What is final int?
Differentiate between a constructor and a method? Can we mark constructors final?
What are the 7 types of characters?
When super keyword is used?
What is tree node in java?
How do you escape json?
What is difference between static class and singleton pattern?
which one is more efficient int x; 1. if(x==null) 2.if(null==x) state which one either 1 or 2?
What is serialization in java?