Back to index

plt-scheme  4.2.1
Public Member Functions | Package Functions | Package Attributes
Auto Class Reference
Inheritance diagram for Auto:
Inheritance graph
[legend]
Collaboration diagram for Auto:
Collaboration graph
[legend]

List of all members.

Public Member Functions

String makeAndModel ()
double price (int year)

Package Functions

int milesTraveled ()
void travel (int miles)

Package Attributes

int miles

Detailed Description

Definition at line 10 of file intermediateTest.java.


Member Function Documentation

String Automobile.makeAndModel ( ) [inherited]

Implemented in Truck, Truck, and Car.

int Auto.milesTraveled ( ) [inline, package]

Implements Automobile.

Reimplemented in Truck, and Car.

Definition at line 12 of file intermediateTest.java.

{ return miles; }
double Automobile.price ( int  year) [inherited]

Implemented in Truck, Truck, Car, and Car.

void Auto.travel ( int  miles) [inline, package]

Implements Automobile.

Reimplemented in Truck, and Car.

Definition at line 14 of file intermediateTest.java.

                         {
    this.miles = this.miles + miles;
  }

Member Data Documentation

int Auto.miles [package]

Reimplemented in Truck, and Car.

Definition at line 11 of file intermediateTest.java.


The documentation for this class was generated from the following file: