NonMemberCustomer.java - Assignment 5 Arizona State...

This preview shows page 1 out of 1 page.

// Assignment #: 5// Arizona State University - CSE205// Name: Punit Denani// StudentID: 1210836234// Lecture: MWF 10:30// Description:This is one of the child classes to Customer creating a non member customer which is subjected to an extra visiting feeimport java.text.DecimalFormat;public class NonMemberCustomer extends Customer{// new format DecimalFormat fmt0 = new DecimalFormat("$###,###,##0.00");// creating an instance variableprivate double visitFee;//a constructor public NonMemberCustomer(String fName, String lName, double amount, int year, int month, int date, double fee){//accessing the parent class

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture