public class VideoTape implements java.io.Serializable { // data members private String title; private int length; private boolean lent; // Constructors public VideoTape() { super(); } public VideoTape( String title, int length, boolean lent ) { this(); // call first constructor setTitle( title ); setLength( length ); setLent( lent ); } // mutator methods, could include data validation public void setTitle( String title ) { this.title = title; } public void setLength( int length ) { this.length = length; } public void setLent( boolean lent ) { this.lent = lent; } // accessor methods public String getTitle() { return this.title; } public int getLength() { return this.length; } public boolean isLent() { return this.lent; } }