BadCustomer - } BadCustomer(String name, int age, Date...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
import java.util.*; import java.lang.*; i public class BadCustomer extends Customer { private String badReason; p BadCustomer() { this.badReason = null; } BadCustomer(String name) { this(name,0, null, null); } BadCustomer(String name, int age, Date enrollDate) { this(name,age, enrollDate, null);
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: } BadCustomer(String name, int age, Date enrollDate, String badReason) { super(name,age,enrollDate); this.badReason = badReason; } public String getBadReason() { return badReason; } public void setBadReason(String badReason) { this.badReason = badReason; } }...
View Full Document

Ask a homework question - tutors are online