Home » Unlabelled » What is the difference between new and override? | OOPS
Friday, 4 January 2013
What is the difference between new and override? | OOPS
The new modifier instructs the compiler to use the new implementation instead of the base class function. Whereas, Override modifier helps to override the base class function.
No comments:
Post a Comment