[HD Pg 251, Sec. 9.2.5 - inheritance-of-static-methods-of-an-interface]
Posted: Sat Jul 24, 2021 10:50 am
Besides an example, this is the entire chapter on this. I fined it hard to think of the why, and google lets me find out I'm not the only one. It seems to be more of a design consequence (as of development of the language over the years. Is this important to know for the OCA exam?Inheritance of static methods of an interface
Unlike the static methods of a class, the static methods of an interface cannot be inherited. This difference is illustrated by the following code