You will receive this product within 24 hours after placing the order
C++ Programming Principles And Practices International 4th Edition By Gary – Test Bank
Chapter 11: Introduction to Classes
TRUE/FALSE
1. C++ is an example of a pure object-oriented programming language.
ANS: F PTS: 1 REF: 618
2. User-defined data types are required when you want to create objects that are more complex than simple integers and characters.
ANS: T PTS: 1 REF: 619
3. In C++, class names must always start with a capital letter.
ANS: F PTS: 1 REF: 622
4. Just as a variable of an integer type must be defined, variables of a user-declared class must also be defined.
ANS: T PTS: 1 REF: 626
5. C++ constructors cannot be written as inline functions.
ANS: F PTS: 1 REF: 628
6. In C++, an object may be declared with empty parentheses.
ANS: F PTS: 1 REF: 635
7. Like constructors, there can be more than one destructor function per class.
ANS: F PTS: 1 REF: 635
8. Constructors are considered to be mutator functions.
ANS: F PTS: 1 REF: 638
9. In C++, a common programming error consists of including a return type with the constructor’s prototype.
ANS: T PTS: 1 REF: 678
10. In C++, using the same name for a data member as for a member function does not produce an error.
ANS: F PTS: 1 REF: 678
Reviews
There are no reviews yet.