Skip to content

[학과 생성자 프로그램] 유소영 제출합니다.#9

Open
1028ragon wants to merge 1 commit into1028ragonfrom
1028ragon-java-oop1
Open

[학과 생성자 프로그램] 유소영 제출합니다.#9
1028ragon wants to merge 1 commit into1028ragonfrom
1028ragon-java-oop1

Conversation

@1028ragon
Copy link
Copy Markdown

과제명

학과 생성자 프로그램

💡 작업 내용

  • Department 클래스를 생성
  • 필드(name, studentCount, building)정의
  • Main 클래스에서 여러 Department 객체를 생성
  • printInfo() 메서드를 구현하여 학과 정보 출력

🔗 참고 링크

  • 김영한의 실전 자바 기본편 - 섹션 3, 4, 5, 6

🤔 느낀 점 / 어려웠던 점

처음에 확장된 for문을 사용해 배열로 구현했다가, 이번주차 강의와 맞게 저번과는 다르게 구현해보자 하여 메서드를 사용해 보았다. 비슷한 내용의 과제인데 스스로 리펙토링을 진행해보면서 기존 방식과의 차이를 비교하며 또 다른 구현 방법을 고민할 수 있었다.

@1028ragon 1028ragon self-assigned this Apr 9, 2026
@1028ragon 1028ragon linked an issue Apr 9, 2026 that may be closed by this pull request
7 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feat] 유소영 3주차 과제 - 학과 생성자 프로그램

1 participant