Question: 1. Create an interface named Teachable 2. Load the interface with the ff properties: - public void listen() - public void teach() - void

1. Create an interface named Teachable 2. Load the interface with the ff properties: - public void listen() - public void teach() - void learn() 3. Add a default static method with no return type and name it read 4. read() method will return "I am reading!" 5. Create another interface and name it Readable and inherit the first interface created 6. Load the interface (Readable) with the ff properties: - void know() - public void look() 7. Add a final static field numberOfPages and initialize a value of your favorite number. 8. Create an abstract class name Teacher that implements both interfaces 9. Define the ff properties in the abstract class: - teach() - String name = "Randy" - int age = 25 10. Create a concrete class (Student) that will implement all the methods of the existing interfaces and class 11. The body (Console) of each abstract method will depend on its name, e.g, "I am listening!". 12. Display all the methods and fields in a separate class named Main using the instantiation Teacher student = new Student();. 13. Pass the java files - Teachable.java - Readable.java - Teacher.java - Student.java - Main.java
Step by Step Solution
There are 3 Steps involved in it
here are the Java files for the specified requirements 1 Teachablejava public interface Teachable vo... View full answer
Get step-by-step solutions from verified subject matter experts
