Vidyalelo
Computer Science · Q24

Object Oriented Programming Using C++

Engineering and GATE · Computer Science · question 24

Q24

When a child class function is called, the compiler looks first for a matching function name in the _____

A.
class of the object using the function name
Answer
B.
immediate ancestor class
C.
base class
D.
descendant class

Answer: Option A

Solution

Answer: Option A
No explanation is given for this question Let's Discuss on Board