Login Register






Thread Rating:
  • 0 Vote(s) - 0 Average


new and override filter_list
Author
Message
RE: new and override #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 ]

Reply

RE: new and override #12
Thanks mate , since english is not my native language is gonna take me a while to understand lol but i think i got it

Reply







Users browsing this thread: 1 Guest(s)