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
What is byval and byref? What are differences between them?
What is persistence in oop?
Hi friends I have experience of 6 months in website design and maintanence. Now i am looking for other IT jobs.. to switch platform. please post any interview you know in chennai.
Can static class have constructor?
If a=5, b=6, c=7, b+=a%c*2. What is the final value of b?
Why do we use class?
What is the main feature of oop?
What is polymorphism explain?
#include
is there any choice in opting subjects like 4 out of 7
Can private class be inherited?
What is overloading in oop?
What is purpose of inheritance?
What is pure oop?
write a code for this. serial_number contained in the header of the file will be read , if this serial number is less than a previous serial number within a successfully processed file, or is the same as another serial number within a successfully processed file, or if the field contains anything other than 7 digits, then the file must error with the reason ‘Invalid SERIAL_NUMBER’.