SummerCamp.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: 3 hrs // Description: It extends Assignment5 and // import java.text.NumberFormat; //Java import for number format import java.util.Locale;; //Java import public abstract class SummerCamp extends Assignment5 { //Instance Variable Declaration protected String title; protected String location; protected double weeklyRate; protected int numberOfWeeks; protected double totalCost; Locale usMoney = new Locale("en","US"); //Creating an object usMoney NumberFormat fmt1 = NumberFormat.getCurrencyInstance(usMoney); //Creating a NumberFormat fmt1 public SummerCamp(String someTitle, String someLocation, double

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture