SPIRO THE TECH GURU

Back

Why we cannot override static method?

By Admin on

we cannot override static method


It is because the static method is the part of class and it is bound with class whereas instance method is bound with object and static gets memory in class area and instance gets memory in heap

SPIRO Google Plus