Question: Hello! This is C++. Could you please answer these questions? Thank you and have a good one! 1. To ____ components is to contain them.
Hello! This is C++.
Could you please answer these questions?
Thank you and have a good one!
1. To ____ components is to contain them.
| instantiate | ||
| abstract | ||
| declare | ||
| encapsulate |
2. A Boolean data type variable can be declared using the ____ data type, which has only two possible valuestrue or false.
| boolean | ||
| bool | ||
| logical | ||
| flag |
3. A ____ class member exists, even when you have not instantiated any objects of the class.
| public | ||
| private | ||
| static | ||
| const |
4. The principle of ____ is a programming principle that says you should give a process only the authority it needs to accomplish its job.
| least privilege | ||
| abstraction | ||
| encapsulation | ||
| overloading |
5. You can determine the size of a string by using____________
| size() | ||
| sizeof() | ||
| length() | ||
| len() |
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
