React.js
Angular
Ethical Hacking
Agile
AWS
BlockChain
Cassandra
Cloud
Salesforce
Scaled Agile
TOGAF
DevOps
GIT
Jenkins
Jira
Kibana
Linux
NGINX
Ansible
Artificial Intelligence
in JAVA by
What is ‘HAS A’’ relationship in java?

‘Has a ‘ relationship is also known as “composition or Aggregation”. As in inheritance we have ‘extends’

keyword we don’t have any keyword to implement ‘Has a’ relationship in java. The main advantage of

‘Has-A‘ relationship in java code reusability.
Click here to read more about JAVA

1 Answer

0 votes
by

‘Has a ‘ relationship is also known as “composition or Aggregation”. As in inheritance we have ‘extends’

keyword we don’t have any keyword to implement ‘Has a’ relationship in java. The main advantage of

‘Has-A‘ relationship in java code reusability.

Related questions

Madanswer
0 votes
asked Jun 16, 2019 in JAVA by reins.robin
0 votes
asked Jun 16, 2019 in JAVA by reins.robin
...