0
Overriding help
why cant we override static methods?is there a simple reason for that?i cant understand the reason that i have read online
1 Réponse
- 1
Instance based methods and data are stored in a structure allocated with the instance so children can replace a method in the parent by overriding it. Static methods don't get stored in the instance structure so they can't be overridden.