Forums Register Login

Static method overriding

+Pie Number of slices to send: Send
what is the main difference of Redefining a static method and overriding a static mehod in the subclass.
we cant override the static method in the subclass..
+Pie Number of slices to send: Send
Hi Karim Khan! Welcome to javaranch

Well this is a common question so you should read this part of the FAQ...
+Pie Number of slices to send: Send
Thanks Ankit !!!
Every time you till, you lose 30% of your organic matter. But this tiny ad is durable:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 742 times.
Similar Threads
why does it throws compilation error in the subclass?
Can static methods be inherited?
static overriding
Devaka ExamLab Diagnostic Question 3
hide vs override
More...

All times above are in ranch (not your local) time.
The current ranch time is
Apr 16, 2024 06:11:21.