This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package decorator; | |
| /** | |
| * ๋ฐ์ฝ๋ ์ดํฐ ์ญํ (ํผ์์ ๊ฐ์ด๋ ์ด๋ฆ์ ๋ฐํ๊ฐ์ ๋ณํ๋ฅผ ์ฃผ๊ธฐ ์ํด ์ถ๊ฐ๋ ๋ฐ์ฝ๋ ์ดํฐ) | |
| */ | |
| public class CheeseTopping extends Topping{ | |
| Pizza pizza; | |
| public CheeseTopping(Pizza pizza) { | |
| this.pizza = pizza; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package Oct; | |
| import java.util.ArrayList; | |
| import java.util.List; | |
| public class ํฌ๋ ์ธ์ธํ๋ฝ๊ธฐ { | |
| public static void main(String[] args) { | |
| int[][] board = new int[5][]; | |
| board[0] = new int[]{0,0,0,0,0}; | |
| board[1] = new int[]{0,0,1,0,3}; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package com.test; | |
| public class Contact { | |
| String name; | |
| String tel; // 010-1111-2222 | |
| String gender; | |
| String birthDate; // 1991/09/01 | |
| public Contact() { |