Site Owners Forums - Webmaster Forums

Site Owners Forums - Webmaster Forums (http://siteownersforums.com/index.php)
-   Java (http://siteownersforums.com/forumdisplay.php?f=12)
-   -   Why we cannot override static method? (http://siteownersforums.com/showthread.php?t=348698)

Pavan Techn 05-29-2018 08:21 AM

Why 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


All times are GMT -7. The time now is 11:55 AM.


Powered by vBulletin Copyright © 2020 vBulletin Solutions, Inc.