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 the difference between the font and fontmetrics classes in java programming?
What is the function of java?
when to use ArrayList and when to use HashMap in webApplication.
What is exception in java?
What are scalar data types?
Outline the major features of java.
Can we modify the throws clause of the superclass method while overriding it in the subclass?
What is mean by collections in java?
What is classpath?
Name the components that are termed to be Heavy-weight component but available in Light-weight components?
What is meant by stack and queue?
How to sort elements in a parallel array in java?
Can the garbage collection be forced by any means?
What is a wrapper method?
How many bytes is a char in java?