Java67
Monday, April 23, 2018
IS-A vs HAS-A Relationship Example in Java
IS-A means two classes are part of same inheritance hierarchy, while HAS-A means two classes are not part of same inheritance hierarchy but class A is composed using class B and uses it to provide certain functionality.
No comments:
Post a Comment
Feel free to comment, ask questions if you have any doubt.
‹
›
Home
View web version
No comments:
Post a Comment
Feel free to comment, ask questions if you have any doubt.