Answer Posted / swetcha
Use the new modifier to explicitly hide a member inherited
from a base class. To hide an inherited member, declare it
in the derived class using the same name, and modify it
with the new modifier.
Is This Answer Correct ? | 2 Yes | 3 No |
Post New Answer View All Answers
What is meant by multiple inheritance?
Can destructor be overloaded?
What is oops?what is its use in software engineering?
Please send ford technologies placement paper 2 my mail id
What is the real time example of encapsulation?
Is oop better than procedural?
Why can't we have instance(stack) of a class as a member of the same class like eg.Class A{A obj;} as we can have self refential pointer
What is the diamond problem in inheritance?
They started with the brief introduction followed by few basic C++ questions on polumorphism, inheritance and then virtual functions. What is polymorphims? How you will access polymorphic functions in C? How virtual function mechanism works?
Can we create object of interface?
How do you achieve polymorphism?
What is balance factor?
What is for loop and its syntax?
What is polymorphism and example?
What is abstraction encapsulation?