====== 클래스 ====== 자바의 Class에 대해 학습하세요. ===== 클래스 정의하는 방법 ===== ===== 객체 만드는 방법 (new 키워드 이해하기) ===== ===== 메소드 정의하는 방법 ===== ===== 생성자 정의하는 방법 ===== ===== this 키워드 이해하기 ===== ===== int 값을 가지고 있는 이진 트리를 나타내는 Node 라는 클래스를 정의하세요. ===== ===== int value, Node left, right를 가지고 있어야 합니다. ===== ===== BinrayTree라는 클래스를 정의하고 주어진 노드를 기준으로 출력하는 bfs(Node node)와 dfs(Node node) 메소드를 구현하세요. ===== ===== DFS는 왼쪽, 루트, 오른쪽 순으로 순회하세요. ===== ===== Ref ===== [[https://jeeneee.dev/java-live-study/week5-class/|https://jeeneee.dev/java-live-study/week5-class/]] \\ [[https://blog.naver.com/swoh1227/222174170682|https://blog.naver.com/swoh1227/222174170682]] \\ [[https://blog.naver.com/swoh1227/222175350122|https://blog.naver.com/swoh1227/222175350122]] \\ [[https://leemoono.tistory.com/17|https://leemoono.tistory.com/17]] \\ [[https://github.com/ByungJun25/study/tree/main/java/whiteship-study/5week|https://github.com/ByungJun25/study/tree/main/java/whiteship-study/5week]] \\ [[https://ahnyezi.github.io/java/javastudy-5/|https://ahnyezi.github.io/java/javastudy-5/]] \\ [[https://ahnyezi.github.io/java/javastudy-5-tree/|https://ahnyezi.github.io/java/javastudy-5-tree/]] \\ [[https://github.com/hypernova1/TIL/tree/master/java/live-study/05.%20%ED%81%B4%EB%9E%98%EC%8A%A4|https://github.com/hypernova1/TIL/tree/master/java/live-study/05.%20%ED%81%B4%EB%9E%98%EC%8A%A4]] \\ [[https://forbeginnerdevs.tistory.com/22|https://forbeginnerdevs.tistory.com/22]] \\ [[https://github.com/d-h-k/Java_Study/blob/main/Mobidic/%EC%9E%90%EB%B0%94%205%EC%B0%A8%EC%8B%9C.md|https://github.com/d-h-k/Java_Study/blob/main/Mobidic/%EC%9E%90%EB%B0%94%205%EC%B0%A8%EC%8B%9C.md]] \\ [[https://www.notion.so/5-7604766ed17346fea62d313411f876e8|https://www.notion.so/5-7604766ed17346fea62d313411f876e8]] \\ [[https://kingsubin.tistory.com/319?category=896578|https://kingsubin.tistory.com/319?category=896578]] \\ [[https://www.notion.so/2yeseul/5-47cc9023e2e74a3b86c1c3d53120bfc3|https://www.notion.so/2yeseul/5-47cc9023e2e74a3b86c1c3d53120bfc3]] \\ [[https://www.notion.so/2yeseul/82e9dd5f7e9e45268a6d7ff56e704622|https://www.notion.so/2yeseul/82e9dd5f7e9e45268a6d7ff56e704622]] \\ [[https://catch-me-java.tistory.com/38|https://catch-me-java.tistory.com/38]] \\ [[https://catch-me-java.tistory.com/40|https://catch-me-java.tistory.com/40]] \\ [[https://catch-me-java.tistory.com/37|https://catch-me-java.tistory.com/37]] \\ [[https://catch-me-java.tistory.com/41|https://catch-me-java.tistory.com/41]] \\ [[https://velog.io/@honux/%EB%B0%B1%EA%B8%B0%EC%84%A0-%EC%9E%90%EB%B0%94-%EB%9D%BC%EC%9D%B4%ED%8A%B8-%EC%8A%A4%ED%84%B0%EB%94%94-5|https://velog.io/@honux/%EB%B0%B1%EA%B8%B0%EC%84%A0-%EC%9E%90%EB%B0%94-%EB%9D%BC%EC%9D%B4%ED%8A%B8-%EC%8A%A4%ED%84%B0%EB%94%94-5]] \\ [[https://github.com/honux77/whiteship-live-study/tree/week6/hnx-bst/src/main/java/net/honux/bst|https://github.com/honux77/whiteship-live-study/tree/week6/hnx-bst/src/main/java/net/honux/bst]] \\ {{tag>class, 클래스}}