Home > DeveloperSection > Interviews > Why we cannot override static method?

Posted on    March-31-2015 12:35 AM

 Java Java 
 1 Answer(s)
  561  View(s)
Rate this:

Mayank Tripathi
Mayank Tripathi

Total Post:807

Posted on    March-31-2015 12:51 AM

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.

Don't want to miss updates? Please click the below button!

Follow MindStick