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