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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started