DebateCamp.java - Assignment 5 Arizona State University...

This preview shows page 1 out of 1 page.

// Assignment #: 5 // Arizona State University - CSE205 // Name: Vyom Desai // StudentID: 1216637513 // Lecture: T Th 10:30-11:45 // Time taken to complete the assignment: 3hrs // Description: public class DebateCamp extends SummerCamp { //Declaring the instace variables private double materialFee; private boolean groupDiscount; public DebateCamp(String title, String location, double rate, int weeks, double fee, String discount) { super(title, location, rate, weeks);//Calling the parent functions constructor and providing input materialFee = fee; //Assigning value to the instance variable if(discount.equalsIgnoreCase("yes"))//Checks if discount is equal to yes

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture