// CSE 143, Autumn 2013 // Each Book object represents information about a book // In class we made Books implement the Item interface so that we could // use them interchangeably with other library items public class Book implements Item { private String author; private String title; private int pages; // constructs a book with the given author, title and number of pages public Book(String author, String title, int pages) { this.author = author; this.title = title; this.pages = pages; } // returns the title of the book. public String getTitle() { return title; } }