Overriding is done when an object needs its own implementation.
override example:
myObject.aMethod
method -> myObject.name()
myNewObject extends myObject
overriden method -> myNewObject.name()
example of overloading:
int handleOfSomething(str value) { // }
int handleOfSomething(int value) { // }
This however is not possible.
It would be nice if Axapta understood something like this ;-)
/b
--- In [EMAIL PROTECTED], "dgaethofs"
<[EMAIL PROTECTED]> wrote:
> Dear all,
>
> I have a question about the difference between override and
> overload. In the developers guide one talks about the two as if
they
> are the same. But they are not.
>
> Can we overload methods in Axapta ?
> What exactly is meant with overloading in Axapta?
>
> Regards,
> Danny
| Yahoo! Groups Sponsor | |
|
|
Yahoo! Groups Links
- To visit your group on the web, go to:
http://groups.yahoo.com/group/development-axapta/
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

