Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- car shop
- package one;
- public class Car_shop {
- String name;
- Car cars;
- public Car_shop(String name) {
- this.name = name;
- }
- public Car getCar() {
- return cars;
- }
- public void setCar(Car cars) {
- this.cars = cars;
- }
- public void printCar_shop() {
- System.out.println("ΠΠΌΡ: "+ name );
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement