RE: new and override 01-10-2014, 07:11 AM
#11
If you think about the english word 'new' and apply it to the context it's used in, you can assume exactly that. If you have something named the same, and you want to declare a different definition of it, you'll have to force the new definition which will not override the old, with the new keyword, otherwise, override can be applied as long as it is something which is overridable, which isn't always the case.
ArkPhaze
"Object oriented way to get rich? Inheritance"
Getting Started: C/C++ | Common Mistakes
[ Assembly / C++ / .NET / Haskell / J Programmer ]
"Object oriented way to get rich? Inheritance"
Getting Started: C/C++ | Common Mistakes
[ Assembly / C++ / .NET / Haskell / J Programmer ]