can someone explain why implemented functions from an interface are not allowed to have default parameters?
what use is an abstract method with a default parameter...
d
Dico
05/31/2019, 3:38 AM
Default parameters cannot be overridden, they are final. They must be declared on the interface.
Dico
05/31/2019, 3:39 AM
The default parameter does not need to be declared in the overriding function
h
Hullaballoonatic
05/31/2019, 5:07 AM
so does the default parameter remain even in overridden methods?