Pergunta de entrevista da empresa Georgia Tech Research Institute

Briefly describe aggregation in object-oriented programming.

Resposta da entrevista

Sigiloso

3 de nov. de 2019

In aggregation, objects have a "has-a" relationship with other objects. For example, a car has wheels. So, if you were given a Car class and a Wheel class, these classes have aggregation relationships.