Aggregation is a "has-a" relationship where one object is composed of other objects, but the lifecycle of the contained objects is independent of the containing object . For example, a Teacher class might be associated with a School class, but even if the School object is destroyed, the Teacher object can continue to exist. Aggregation emphasizes shared ownership and loosely coupled associations, making it useful for scenarios requiring flexibility in object dependencies. Why Other Options Are Incorrect :
The ratio of the cost price to the marked price of an article is 3:5 and the ratio of the profit percentage to the discount percentage is 5:2. Find the...
A shopkeeper marked an article P% above its cost price and sold it for Rs. 1200 after giving a discount of 20%. If the shopkeeper had a loss of 6.4% on ...
A, B, and C started business by investing Rs 2500, Rs 3000, Rs 4000. After 8 months B decreased his investment by Rs. _________. If the annual profit re...
B purchased 15 kg apples at the rate of 180 per kg from a wholesaler who uses a weight of 900 grams for the kg weight. B sold all these apples at 180 pe...
A man spent 66% of his income in May. If his savings is increased by 20% in June and becomes Rs. 6120, then find the income of man in May.
The cost price of 6 chocolates and 4 biscuits amounts to Rs. 6,960. Additionally, the cost price of 5 chocolates and 7 biscuits totals Rs. 8,880. Each c...
A merchant fixed the selling price of his articles at 675 after adding 35% profit to the cost price. As the sale was very low at this price level, he de...
A purchased an article for Rs 1300. She sold the article at 12% profit. She then added Rs 400 to the amount received and purchased a purse such that the...
A man purchases 60 kg of wheat at ₹20 per kg and 40 kg of rice at ₹30 per kg. He mixes them and sells the mixture at ₹28 per kg. Find his percenta...
An item is initially priced 36% higher than its cost price. After applying a 25% discount, it sells for a profit of Rs. 30. If, instead, the item is mar...