Java 15_ interfaces, abstract classes, abstract methods etc
Javadoesn'tallowyoutoinheritfrommorethanoneclass.whenyouwanttoaddadditionalfunctionality?Youcreateaninterface.Interfacesareemptyclasses.Theyprovideallofthemethodsyoumustuse,butnoneofthecode.Defineanin