public class ProgrammingBook implements Book { String title; String[] chapters; public ProgrammingBook(String title,String[] chapters) { this.title = title; this.chapters = chapters; } public String getTitle() { return this.title; } public String[] getChapters() { return this.chapters; } }