상속성
[자바/JAVA] 프로그래밍 - 상속성 (Inheritance)
상속쓰기 전 Desktop Class package com.kh.chap01_beforeVSafter.before.model.vo; public class Desktop { private String brand; private String pCode; private String pName; private int price; private boolean allInOne; public Desktop() { } public Desktop(String brand, String pCode, String pName, int price, boolean allInOne) { this.brand = brand; this.pCode = pCode; this.pName = pName; this.price = price; t..