Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package ru.itsjava.oop.hw;
- public class MainLexus {
- public static void main(String[] args) {
- Lexus lx = new LX();
- Lexus rx = new RX();
- System.out.println("lx.getModel() = " + lx.getModel());
- System.out.println("rx = " + rx);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement