adplus-dvertising
frame-decoration

Question

The feature in object-oriented programming that allows the same operation to be carried out differently, depending on the object, is_____

a.

inheritance

b.

polymorphism

c.

overfunctioning

d.

overriding

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. The feature in object-oriented programming that allows the same operation to be carried out differently, depending on the object, is_____

Similar Questions

Discover Related MCQs

Q. Which of the following statements uses the computer's clock to initialize the random number generator?

Q. To use one of the C++ built-in mathematical functions, you must include the _____ header file in your program

Q. Errors in a program are called

Q. Which of the following is the inequality operator?

Q. The operator that releases previously allocated memory is _____

Q. When a language has the capability to produce new data types, it is said to be

Q. A compound statement does not consist of

Q. Which of the following statements will display the word "Hello" on the computer screen?

Q. The preprocessor directive always starts with the symbol

Q. Which of the following statements is true ?

Q. Evaluate the following expression:
7 >=3 + 4 || 6<4 && 2<5

Q. Which of the following while clause will stop the loop when the value in the age variable is less than the number 0?

Q. The most efficient data type for a variable that stores the number 4.6e20 is the _____ data type

Q. Which of the following is a C++ object?

Q. Which of the following can be used to declare the main function?

Q. The highest level of cohesion is

Q. The two statements that can be used to change the flow of control are

Q. If p and q are assigned the values 2 and 3 respectively then the statement p = q++

Q. Which of the following is the insertion operator?

Q. If you want only one memory location to be reserved for a class variable, no matter how many objects are instantiated, you should declare the variable as