C++ Classes and Objects Questions and Answers
1. |
In C++, the class variables are called as? |
|
- A. functions
- B. constants
- C. methods
- D. objects
|
2. |
Which one of the following langauge features classes? |
|
- A. C++
- B. C
- C. Basic
- D. Fortran
|
3. |
OOP stands for? |
|
- A. Object to Object Programming
- B. Object Oriented Programming
- C. Online Objects Programming
- D. Object Oriented Processes
|
4. |
The class body has ......... access specifiers? |
|
|
5. |
The binding of data and functions together into a single entity is known as? |
|
- A. Polymorphism
- B. Inheritance
- C. Encapsulation
- D. Overloading
|