devasis majhi wrote:When static method does not take part in method overriding then why can't we declare a throws clause in a method of child class to throw a checked exception if the same is not declared in parent class.
Like the others, I don't really know. However, it's worth pointing out that method hiding is not generally a good idea anyway, so I can live with a few logical inconsistencies.
devasis majhi wrote:Same thing applicable to return type also. We cann't have any return type in static method of child class if parent class does not define the same...
OK, but I don't really understand why this is such a big deal for you.
The fact is that hiding methods is not a good thing, and the rules are what they are. Agonising about it seems like a poor use of your time.
[Edit] PS : Please DontWriteLongLines (←click). I've broken yours up this time.