Answer the following statements true (T) or false (F)
1. Only the private section of a class is accessible from the outside.
2. Inheritance allows a programmer to create a new class from an existing class by adding more data and/or functions.
3. A user can (usually) only access the data of a class by calling its member functions.
4. The semicolon after the closing brace of a class definition is optional.
5. Identifiers in the private section of a class can only be accessed within the class itself.
1. False
2. True
3. True
4. False
5. True
You might also like to view...
When using the password data type, any information that a user enters will be displayed as a series of ____ or asterisks, protecting the information from prying eyes.
A. dashes B. dots C. ampersands D. plus signs
The sampling rate is measured in ____.
A. MHz B. MB C. KHz D. GB
As audio is added to your presentation, a player with a Play button is automatically added to the slide
Indicate whether the statement is true or false
Describe some of the traps for unwary experts.
What will be an ideal response?