





Method "getInterestRate()" should belongs to class
Account()
SavingAccount()
CurrentAccount()
None of the given options
Can we access methods of composed object in the same way as we can access methods of other objects?
Yes
NoWhat will be most appropriate C++ data type for variable "InterestRate
Int
long int
double
float
Select correct line of code for composition relationship between "Keyboard" class and "Keys" class
class keyboard { Keys type;};
class keys{ KeyBoard type; };
class keyboard : private keys
class keys: private KeyBoardThe direction specifies which object contains the other object. In aggregation direction is must
Yes
No
In _______________ a pointer or reference to an object is created inside a class
Select correct option:
Aggregation
Composition
Seperation
None of the given_____ is creating objects of one class inside another class.
Association
Composition
Aggregation
Inheritance
What will be most appropriate C++ data type for variable "InterestRate
Int
long int
double
float
Select correct line of code for composition relationship between "Keyboard" class and "Keys" class
class keyboard { Keys type;};
class keys{ KeyBoard type; };
class keyboard : private keys
class keys: private KeyBoard
In _______________ a pointer or reference to an object is created inside a class
Select correct option:
Aggregation
Composition
Seperation
None of the given

For University of Pakistan Study Material Sharing, Discussion, etc, Come and join us at http://4e542a34.linkbucks.com
You received this message because you are subscribed to the Google
Groups "Study" group.
To post to this group, send email to http://ca13054d.tinylinks.co
For more options, visit this group at
http://004bbb67.any.gs
No comments:
Post a Comment
Note: only a member of this blog may post a comment.