Answer Posted / r.r.bharti
It is an error to use both new and override on the same
member, as the two modifiers have mutually exclusive
meanings. Using new creates a new member with the same name
and causes the original member to become hidden, while
override extends the implementation for an inherited member.
Using the new modifier in a declaration that does not hide
an inherited member generates a warning.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Is react oop?
What is abstract class in oop?
What is polymorphism and types?
Why do while loop is used?
what's the basic's in dot net
write a programe to calculate the simple intrest and compund intrest using by function overlading
What is polymorphism in oop example?
What is an advantage of polymorphism?
How to handle exception in c++, For example in a functions i am assigning memory to some variables and also in next instructions in am dividing one variable also. If this functions generates a error while allocating memory to those variable and also while dividing the variable if i divide by zero then catch block how it will identify that this error has cone from perticular instruction
What is abstraction with example?
What is and I oop mean?
Give an example where we have to specifically use C programming language and C++ programming language cannot be used?
assume the program must insert 4 elements from the key board and then do the following programs.sequential search(search one of the elements),using insertion sort(sort the element) and using selection sort(sort the element).
What is encapsulation oop?
What is the highest level of cohesion?