Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package CarSalesMan;
- public class Car {
- public String getModel() {
- return model;
- }
- public void setModel(String model) {
- this.model = model;
- }
- public String getEngine() {
- return engine;
- }
- public void setEngine(String engine) {
- this.engine = engine;
- }
- public String getWeight() {
- return weight;
- }
- public void setWeight(String weight) {
- this.weight = weight;
- }
- public String getColor() {
- return color;
- }
- public void setColor(String color) {
- this.color = color;
- }
- private String model;
- private String engine;
- private String weight;
- private String color;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement