it is not possible within the same class as you break the uniqueness of names.
But if you have class A1 with Method MX(....)
you can create class A2 Extends A1 and overload Method MX as you like or need.
You still can call MX of class A1 from class A2 using ##super()
All with the assumption that neither class A1 nor Method MX is FINAL
- Log in to post comments
.png)
.png)
.png)
.png)
.png)
.png)
.png)
.png)
.png)