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
How do you remove duplicates from an array in java?
Write code to implement bubble sort in java?
How do you create a null object?
What is += mean in java?
What is a methodologist?
What are the types of casting?
why using interface interface ?
What are adapter classes?
When object is created and destroyed?
What is number data type?
What is a boolean used for?
What happens if a try-catch-finally statement does not have a catch clause to handle an exception that is thrown within the body of the try statement?
Is string a datatype?
What is the use of optional ?
How do you define a singleton class?