Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package alex1rap.first;
- import alex1rap.first.city.autosalon.car;
- /**
- * Created by alex1rap on 13.11.2016.
- */
- public class starter {
- public static void main(String[] args) {
- Object car_1 = new car("Audi", "Q7", "AI0001AA", 35000, 225);
- System.out.println("Марка: " + car_1.marka);
- System.out.println("Модель: " + car_1.model);
- System.out.println("Номера: " + car_1.number);
- System.out.println("Цена: " + car_1.price);
- System.out.println("Скорость: " + car_1.speed);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement