IndiaBIX
IndiaBIX
Start typing & press "Enter" or "ESC" to close
  • Home
  • Jobs
  • Results
  • Current Affairs
  • GK
  • Online Test
  • HR Interview
  • BLOG

OOPS Concepts (3)

  • Home
  • Computer Science & Engineering
  • C++ Programming Questions and Answers
  • OOPS Concepts
17. 

Which of the following is not a type of inheritance?

A. Multiple
B. Multilevel
C. Distributive
D. Hierarchical

Answer: Option C

Explanation:

No answer description available for this question. Let us discuss.
View Answer Discuss Workspace Report

18. 

Which of the following are available only in the class hierarchy chain?

A. Public data members
B. Private data members
C. Protected data members
D. Member functions

Answer: Option C

Explanation:

No answer description available for this question. Let us discuss.
View Answer Discuss Workspace Report

19. 

What happens if the base and derived class contains definition of a function with same prototype?

A. Compiler reports an error on compilation.
B. Only base class function will get called irrespective of object.
C. Only derived class function will get called irrespective of object.
D. Base class object will call base class function and derived class object will call derived class function.

Answer: Option D

Explanation:

No answer description available for this question. Let us discuss.
View Answer Discuss Workspace Report

20. 

Which of the following is correct about the statements given below?

  1. All operators can be overloaded in C++.
  2. We can change the basic meaning of an operator in C++.
A. Only I is true.
B. Both I and II are false.
C. Only II is true.
D. Both I and II are true.

Answer: Option B

Explanation:

No answer description available for this question. Let us discuss.
View Answer Discuss Workspace Report

21. 

Which of the following is a mechanism of static polymorphism?

A. Operator overloading
B. Function overloading
C. Templates
D. All of the above

Answer: Option D

Explanation:

No answer description available for this question. Let us discuss.
View Answer Discuss Workspace Report

22. 

Which of the following ways are legal to access a class data member using this pointer?

A. this->x
B. this.x
C. *this.x
D. *this-x

Answer: Option A

Explanation:

No answer description available for this question. Let us discuss.
View Answer Discuss Workspace Report

23. 

Which of the following factors supports the statement that reusability is a desirable feature of a language?

A. It decreases the testing time.
B. It lowers the maintenance cost.
C. It reduces the compilation time.
D. Both A and B.

Answer: Option D

Explanation:

No answer description available for this question. Let us discuss.
View Answer Discuss Workspace Report

24. 

Which of the following concepts is used to implement late binding?

A. Virtual function
B. Operator function
C. Const function
D. Static function

Answer: Option A

Explanation:

No answer description available for this question. Let us discuss.
View Answer Discuss Workspace Report

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7

Questions & Answers

Aptitude Chemical Engineering Civil Engineering Computer Science & Engineering Current Affairs Data Interpretation Electrical & Electronics Engineering Electronics & Communication Engineering General Knowledge Logical Reasoning Mechanical Engineering Non Verbal Reasoning Verbal Ability Verbal Reasoning

Interviews

HR Interview

Jobs

Sarkari Jobs

Results

Rojgar ResultSarkari Result

Admission

Admission 2023

Admit Card

Admit Card 2023

Answer Key

Answer Key 2023
copyright
Privacy Policy
© 2025 IndiaBIX. All Rights Reserved.

Report