Question
a.
Encapsulation
b.
Abstraction
c.
Composition
d.
Inheritance
Posted under Data Structures and Algorithms
Engage with the Community - Add Your Comment
Confused About the Answer? Ask for Details Here.
Know the Explanation? Add it Here.
Q. Which of the following concepts provides facility of using object of one class inside another class?
Similar Questions
Discover Related MCQs
Q. Which of the following is an abstract data type?
View solution
Q. Which of the following concepts means adding new components to a program as it runs?
View solution
Q. Which of the following statement is correct?
View solution
Q. Which of the following correctly describes overloading of functions?
View solution
Q. Which of the following is correct about function overloading?
View solution
Q. Which of the following is correct about class and structure?
View solution
Q. Which of the following concepts means wrapping up of data and functions together?
View solution
Q. Which of the following concepts means waiting until runtime to determine which function to call?
View solution
Q. Which of the following functions are performed by a constructor?
View solution
Q. The address of a variable temp of type float is
View solution
Q. What is the output of the following code :
char symbol[3]={‘a’,‘b’,‘c’};
for (int index=0; index<3; index++)
cout << symbol [index];
View solution
Q. The process of building new classes from existing one is called ______.
View solution
Q. If a class C is derived from class B, which is derived from class A, all through public inheritance, then a class C member function can access
View solution
Q. If the variable count exceeds 100, a single statement that prints “Too many” is
View solution
Q. Usually a pure virtual function
View solution
Q. To perform stream I/O with disk files in C++, you should
View solution
Q. Overloading the function operator
View solution
Q. In C++, the range of signed integer type variable is ________
View solution
Q. If x = y,5 = 2 then x ∧ y equals________.
(where ∧ is a bitwise XOR operator)
View solution
Q. If an array is declared as
int a[4] = {3, 0, 1, 2}, then values assigned to a[0] & a[4] will be ________.
View solution
Suggested Topics
Are you eager to expand your knowledge beyond Data Structures and Algorithms? We've curated a selection of related categories that you might find intriguing.
Click on the categories below to discover a wealth of MCQs and enrich your understanding of Computer Science. Happy exploring!