public class Car extends Object
| Constructor and Description |
|---|
Car() |
Car(String brand,
String type,
int year,
String color,
int mileage,
String fuel,
int price) |
| Modifier and Type | Method and Description |
|---|---|
String |
getBrand() |
String |
getColor() |
String |
getFuel() |
int |
getMileage() |
int |
getPrice() |
String |
getType() |
int |
getYear() |
void |
setBrand(String brand) |
void |
setColor(String color) |
void |
setFuel(String fuel) |
void |
setMileage(int mileage) |
void |
setPrice(int price) |
void |
setType(String type) |
void |
setYear(int year) |
public int getMileage()
public void setMileage(int mileage)
public String getFuel()
public void setFuel(String fuel)
public int getPrice()
public void setPrice(int price)
public String getBrand()
public String getColor()
public String getType()
public int getYear()
public void setBrand(String brand)
public void setColor(String color)
public void setType(String type)
public void setYear(int year)
Copyright © 2015. All rights reserved.