Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package Google;
- public class Car {
- public String getCarModel() {
- return carModel;
- }
- public void setCarModel(String carModel) {
- this.carModel = carModel;
- }
- public int getCarSpeed() {
- return carSpeed;
- }
- public void setCarSpeed(int carSpeed) {
- this.carSpeed = carSpeed;
- }
- private String carModel;
- private int carSpeed;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement