Answer Posted / shiraz abbas rizvi
When used as a modifier, the new keyword explicitly hides a
member inherited from a base class. Hiding an inherited
member means that the derived version of the member
replaces the base-class version.
| Is This Answer Correct ? | 6 Yes | 1 No |
Post New Answer View All Answers
What is the point of oop?
Whats oop mean?
What is Difference Between Inheritance and creating object and getting data? means Class A extends B{ B.getMethod();} (OR) Class A{ b obj=new B(); obj.getMethod(); }
How many human genes are polymorphic?
What is object in oop?
what is different between oops and c++
How is polymorphism achieved?
Why is polymorphism used?
What is the difference between encapsulation and polymorphism?
Why is destructor used?
What is polymorphism explain?
What does enum stand for?
i=20;k=0;
for(j=1;k-i;k+=j<10?4:3)
{
cout< i am getting an of the type can not convert int to int *.
to overcome this problem what we should do? What is inheritance write a program to show use of inheritance?