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

Posted on    January-14-2015 10:25 PM

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

Kamlakar Singh
Kamlakar Singh

Total Post:80

Posted on    January-14-2015 11:25 PM

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