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
Define the term string pool?
If a method is declared as protected, where may the method be accessed in java programming?
How do you define a variable?
Explain the advantages of packages in java?
What are the Main functions of Java?
What is polymorphism java example?
What is the multi-catch block in java?
Write a program to solve producer consumer problem in java?
What is a boolean flag in java?
What are annotations in java?
How can we achieve thread safety in java?
What does system.gc() and runtime.gc() methods do?
Write a program to print fibonacci series up to count 10.
What is default size of arraylist in java?
What are the differences between graph and tree?