Interface1 Java Software Solution Ch10_PP3 ; Interface PP 10.3 Implement the Speaker interface described in Section 10.3, and create three classes that implement Speaker in various ways. Create a driver class whose main method instantiates some of these objects and tests their abilities. Speaker.interfacepublic interface Speaker { public void speak(); public void announce(String str);} Singer.javapublic class Singer implements Speaker{ public void s.. 2024. 4. 26. 이전 1 다음