Question: C++ 1.A(n) _____ has the same name as the class it is declared in, it is used to initialize attributes and accepts zero arguments. (Points
C++
1.A(n) _____ has the same name as the class it is declared in, it is used to initialize attributes and accepts zero arguments. (Points : 2)
default destructor default constructor initializing method instantiation None of the above
2.
_____ attributes are hidden from outside classes, which is also known as information hiding
3.Attributes that are assigned a private accessor can _____. (Points : 2)
never be modified be modified directly by an external object change the value of other related attributes be modified by setters defined in the same class None of the above
|
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
