As stated in the title: why does each function you add to an interface has to be public?
All methods declared in an interface must be public; this is the nature of an interface
What is the nature of an interface as stated in the citation above?
How about having a class implement an interface, and another class extending that class. Why is it not possible to define the methods necessary in the classes that extend the main class?
Please note: I do know how to use interfaces, but I'm just wondering why these things are not possible to predefine.