SummerCamp.java - import java.text.NumberFormat import...

This preview shows page 1 out of 1 page.

import java.text.NumberFormat; import java.util.Locale; public abstract class SummerCamp { protected String title; protected String location; protected double weeklyRate; protected int numberOfWeeks; protected double totalCost; public SummerCamp(String someTitle, String someLocation, double someWeeklyRate, int someNumberOfWeeks) { title = someTitle; location = someLocation; weeklyRate = someWeeklyRate; numberOfWeeks = someNumberOfWeeks; totalCost = 0; } public String getCampTitle() {

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture