1. uml¸ðµ¨¸µ ÇÁ·Î±×·¥ ÀÛ¼º ºÐ¼® ¼³°è Ư¼º: °¡½ÃÈ­, ¸í¼¼È­, ÇÁ·Î±×·¥È­ 2. °´Ã¼ÁöÇâ °³³ä(°´Ã¼¸¦ Ç¥Çö, °´Ã¼°£ÀÇ °ü°è¸¦ Ç¥Çö) °´Ã¼ÁöÇâ 3°¡Áö ¿ä¼Ò:Ŭ·¡½º, °´Ã¼, ¸Þ¼Òµå 4°¡Áö Ư¼º: Ãß»óÈ­, ĸ½¶È­, »ó¼Ó, ´Ù¿ë¼º 3. Ãß»ó¸Þ¼Òµå¿Í ¸ÞÀΠŬ·¡½º(°úÁ¦) 4. »óǰÀç°í¿¹Á¦ »ý¼ºÀÚ Ãß°¡(°´Ã¼ÁöÇâ°ü·Ã Äڵ幮Á¦) class GoodsStock { String goodsCode; int stockNum; GoodsStock(String code, int num) { goodsCode = code; <--À̺κРÁß¿ä stockNum = num; } void addStock(int amount) { stockNum += amount; } void subtractStock(int amount) { if (stockNum < amount) System.out.println(¡°Àç°íºÎÁ·¡±) stockNum -= amount; } } »ó¼Ó (ÀÚ¹Ù 2 ppt) class CheckingAccount extends Account { //extends »ó¼ÓÄÚµå String cardNo; CheckingAccount(String accountNo, String ownerName, int balance, String cardNo) { // »ý¼ºÀÚ super(accountNo, ownerName, balance); //½´ÆÛŬ·¡½ºÀÇ »ý¼ºÀÚ¸¦ È£Ãâ this.~ this.cardNo = cardNo; } int pay(String cardNo, int amount) { if (!cardNo.equals(this.cardNo) || (balance < amount)){ System.out.println("ÁöºÒÀÌ ºÒ°¡´ÉÇÕ´Ï´Ù."); return 0; } return withdraw(amount); } } 5.cahpter 4¿¡¼­ 1¹®Á¦ 7,8¹®Á¦ ÁÖ°ü½Ä