• OOPS Concepts - General Questions
21. 

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.

22. 

Which of the following concepts means wrapping up of data and functions together?

A. Abstraction
B. Encapsulation
C. Inheritance
D. Polymorphism

23. 

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

24. 

How "Late binding" is implemented in C++?

A. Using C++ tables
B. Using Virtual tables
C. Using Indexed virtual tables
D. Using polymorphic tables

25. 

Which of the following operator is overloaded for object cout?

A. >>
B. <<
C. +
D. =