adplus-dvertising
frame-decoration

Question

Which one of the following options is correct about the statement given below? The compiler checks the type of reference in the object and not the type of object.

a.

Inheritance

b.

Polymorphism

c.

Abstraction

d.

Encapsulation

Answer: (b).Polymorphism

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Which one of the following options is correct about the statement given below? The compiler checks the type of reference in the object and not the type of object.

Similar Questions

Discover Related MCQs

Q. Which of the following is the correct way of declaring a function as constant?

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

Q. Which of the following statement is correct?

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

Q. Which of the following is a mechanism of static polymorphism?

Q. Which of the following is correct about the statements given below?
|. All operators can be overloaded in C++.
||. We can change the basic meaning of an operator in C++.

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

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

Q. Which of the following is not a type of inheritance?

Q. Which of the following operators cannot be overloaded?

Q. In which of the following a virtual call is resolved at the time of compilation?

Q. Which of the following statements regarding inline functions is correct?

Q. Which one of the following is the correct way to declare a pure virtual function?

Q. Which of the following header file includes definition of cin and cout?

Q. Which of the following keyword is used to overload an operator?

Q. What will happen if a class is not having any name?

Q. Which inheritance type is used in the class given below? class A : public X, public Y {}

Q. Which one of the following is correct about the statements given below?
|. All function calls are resolved at compile-time in Procedure Oriented Programming.
||. All function calls are resolved at compile-time in OOPS.

Q. Which of the following is an invalid visibility label while inheriting a class?

Q. Which one of the following options is correct?