Exercise: Oops Concepts

Questions for: Oops Concepts

How "Late binding" is implemented in C++?
A:
Using C++ tables
B:
Using Virtual tables
C:
Using Indexed virtual tables
D:
Using polymorphic tables
Answer: B
No answer description is available. Let's discuss.
Which of the following concepts means waiting until runtime to determine which function to call?
A:
Data hiding
B:
Dynamic casting
C:
Dynamic binding
D:
Dynamic loading
Answer: C
No answer description is available. Let's discuss.
Which of the following concepts means wrapping up of data and functions together?
A:
Abstraction
B:
Encapsulation
C:
Inheritance
D:
Polymorphism
Answer: B
No answer description is available. Let's discuss.
Which of the following is correct about class and structure?
A:
class can have member functions while structure cannot.
B:
class data members are public by default while that of structure are private.
C:
Pointer to structure or classes cannot be declared.
D:
class data members are private by default while that of structure are public by default.
Answer: D
No answer description is available. Let's discuss.
Which of the following is correct about function overloading?
A:
The types of arguments are different.
B:
The order of argument is different.
C:
The number of argument is same.
D:
Both A and B.
Answer: D
No answer description is available. Let's discuss.
Ad Slot (Above Pagination)
Quiz