C++ Programming - OOPS Concepts

Exercise : OOPS Concepts - General Questions
  • OOPS Concepts - General Questions
21.
Which of the following is correct about class and structure?
class can have member functions while structure cannot.
class data members are public by default while that of structure are private.
Pointer to structure or classes cannot be declared.
class data members are private by default while that of structure are public by default.
Answer: Option
Explanation:
No answer description is available. Let's discuss.

22.
Which of the following concepts means wrapping up of data and functions together?
Abstraction
Encapsulation
Inheritance
Polymorphism
Answer: Option
Explanation:
No answer description is available. Let's discuss.

23.
Which of the following concepts means waiting until runtime to determine which function to call?
Data hiding
Dynamic casting
Dynamic binding
Dynamic loading
Answer: Option
Explanation:
No answer description is available. Let's discuss.

24.
How "Late binding" is implemented in C++?
Using C++ tables
Using Virtual tables
Using Indexed virtual tables
Using polymorphic tables
Answer: Option
Explanation:
No answer description is available. Let's discuss.

25.
Which of the following operator is overloaded for object cout?
>>
<<
+
=
Answer: Option
Explanation:
No answer description is available. Let's discuss.