0

Can we override the static method?

As we can overload the static method then why can't we override the static method in java!

22nd Jan 2019, 10:05 AM
rahul sakhare
rahul sakhare - avatar
1 Réponse
+ 3
Its because the static method belongs to the class rather then the instance of that class
22nd Jan 2019, 11:30 AM
D_Stark
D_Stark - avatar