Is A and has a relationship 2024?
I'll answer
Earn 20 gold coins for an accepted answer.20
Earn 20 gold coins for an accepted answer.
40more
40more
Studied at the University of Amsterdam, Lives in Amsterdam, Netherlands.
Has-A means an instance of one class --has a-- reference to an instance of another class or another instance of same class. It is also known as --composition-- or --aggregation--. There is no specific keyword to implement HAS-A relationship but mostly we are depended upon --new-- keyword.
2023-05-12 12:03:17
评论(499)
Helpful(122)
Helpful
Helpful(2)

Scarlett Lee
QuesHub.com delivers expert answers and knowledge to you.
Has-A means an instance of one class --has a-- reference to an instance of another class or another instance of same class. It is also known as --composition-- or --aggregation--. There is no specific keyword to implement HAS-A relationship but mostly we are depended upon --new-- keyword.