+ 1
we cannot override final method but can we do for static method
we cannot override final method but can we do for static method
4 Respuestas
0
Yes.
0
how can any one explain
0
Both final and static do not allow for overriding, for static, it's because static variables or methods belong to a class rather than a specific instance(quoted from the course)
Hoping it was clear.
- 1
Yes you can.