DebateCamp.java - package cse205.Assignment5 public class...

This preview shows page 1 out of 1 page.

package cse205.Assignment5; public class DebateCamp extends SummerCamp { private double materialFee; private boolean groupDiscount; public DebateCamp(String title, String location, double rate, int weeks, double materialFee, String discount) { super(title, location, rate, weeks); this.materialFee = materialFee; if(discount.equals("yes")) { this.groupDiscount = true; } else { this.groupDiscount = false;

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture