This week's book giveaways are in the iOS and Features new in Java 8 forums. We're giving away four copies each of Barcodes with iOS: Bringing together the digital and physical worlds and Core Java for the Impatient and have the authors on-line! See this thread and this one for details.
Hi! Static methods are part of class not the object. Meaning that they can't be overridden, only redefined. Why then they obey the rule of overriding like method can't throw more or broader exceptions and can't return type other than in parent class (if arguments are the same). Or this question doesn't have answer other than "Sun decided to do so".
Thanks a lot!
Joined: Mar 07, 2008
well, it doesn't matter how it calls - hiding or redefining.. It's not overriding for sure.