Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package CarSalesMan;
- public class Engine {
- public String getModel() {
- return model;
- }
- public void setModel(String model) {
- this.model = model;
- }
- public int getPower() {
- return power;
- }
- public void setPower(int power) {
- this.power = power;
- }
- public String getDisplacement() {
- return displacement;
- }
- public void setDisplacement(String displacement) {
- this.displacement = displacement;
- }
- public String getEfficiency() {
- return efficiency;
- }
- public void setEfficiency(String efficiency) {
- this.efficiency = efficiency;
- }
- private String model;
- private int power;
- private String displacement;
- private String efficiency;
- }
Add Comment
Please, Sign In to add comment