+ 4
When to use @override but when not to use
I am confuse with it
3 ответов
+ 10
The ability of a subclass to override a method allows a class to inherit from a superclass whose behavior is "close enough" and then to modify behavior as needed. The overriding method has the same name, number and type of parameters, and return type as the method that it overrides.
+ 4
can I just use the override funct without @override