class Product{ int price; // 제품의 가격 int bounsPoint; // 제품구매시 제공하는 보너스점수 Product(int price) { this.price = price; bounsPoint =(int)(price/10.0); //보너스 점수는 가격의 10% } } class Tv1 extends Product { Tv1 () { // 조상클래스의 생성자 Product(int price){}를 호출 super(100); } public String toString () { // overriding return "Tv"; // toString 은 객체정보를 뽑아내는것. } // return 값으로 "Tv"를 출력 } class Computer extends Product { ..