C++ Classes and Objects Questions and Answers
| 6. |
:: is a? |
| |
- A. Short circuit OR
- B. Not operator
- C. Short circuit AND
- D. Scope resolution operator
|
| 7. |
Every class declaration is terminated by |
| |
- A. ,(comma)
- B. .(dot)
- C. ::(double colon)
- D. ;(semicolon)
|
| 8. |
Which of the following is a user defined data type? |
| |
- A. Public
- B. Protected
- C. Object
- D. Class
|
| 9. |
In a class data members are called as |
| |
- A. dimensions
- B. abstracts
- C. attributes
- D. properties
|
| 10. |
......... member variable are initialized only once when the first object of its class is created. |
| |
- A. Inline
- B. Static
- C. Public
- D. Private
|