PREVIOUS YEAR SOLVED PAPERS MCQ - July 2016 Paper 3
Implicit return type of a class constructor is class type itself. Option (B) is correct.
It is possible to define a class within a class termed as nested class. There are two types of nested classes. 1 - Outer class will use argument of inner class. 2 - Inner and outer class are independent to each other.(different argument) So, optioin (A) is correct.
- A Aggregation is a strong type of association between two classes with full ownership.
- B Aggregation is a strong type of association between two classes with partial ownership.
- C Aggregation is a weak type of association between two classes with partial ownership.
- D Aggregation is a weak type of association between two classes with full ownership.
Aggregation is a weak type of association between two classes with partial ownership. All other statement are incorrect. So, option (C) is correct.