FileDocCategorySizeDatePackage
Vehicle.javaAPI DocExample462Wed Nov 21 16:10:48 GMT 2001myprojects.vectorexample

Vehicle

public class Vehicle extends Object

Fields Summary
private String
make
private double
weight
private double
length
Constructors Summary
public Vehicle(String make, double weight, double length)

		this.make=make;
		this.weight=weight;
		this.length=length;
	
Methods Summary
public voiddisplayData()

		System.out.println("make = "+make);
		System.out.println("weight = "+weight);
		System.out.println("length = "+length);
		System.out.println("  ");