Order the Book

coreservlets
Class RentalCarInfo

java.lang.Object
  |
  +--coreservlets.RentalCarInfo

public class RentalCarInfo
extends Object

Simple class describing a car company and associated frequent renter number, used from the TravelData class (where an array of RentalCarInfo is associated with each customer).

Taken from Core Servlets and JavaServer Pages from Prentice Hall and Sun Microsystems Press, http://www.coreservlets.com/. © 2000 Marty Hall; may be freely used or adapted.


Constructor Summary
RentalCarInfo(String rentalCarCompany, String rentalCarNumber)
           
 
Method Summary
 String getRentalCarCompany()
           
 String getRentalCarNumber()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RentalCarInfo

public RentalCarInfo(String rentalCarCompany,
                     String rentalCarNumber)
Method Detail

getRentalCarCompany

public String getRentalCarCompany()

getRentalCarNumber

public String getRentalCarNumber()

Order the Book

Order
CSAJSP @ amazon.com

Return to Top-Level Source Code Archive