728x90 class3 [Java Examples] 상자 용량, 면적 구하는 예제 및 설명 상자 용량, 면적 구하는 예제 및 설명 포스트 난이도: HOO_Intern # Example Code public class Rectangle { private double length; private double width; // Constructor public Rectangle(double len, double w) { length = len; width = w; } // Setter for length public void setLength(double len) { length = len; } // Setter for width public void setWidth(double w) { width = w; } // Getter for length public double getLength() { .. 2024. 2. 7. [Programming] Static Modeling Static Modeling 포스트 난이도: HOO_Middle [Notice] 포스트 난이도에 대한 설명 안녕하세요, HOOAI의 Henry입니다. Bro들의 질문에 대한 내용을 우선적으로 포스팅이 되다 보니 각각의 포스트에 대한 난이도가 달라서 난이도에 대한 부분을 작성하면 좋겠다는 의견을 들었습니다 whoishoo.tistory.com # Static Modeling Static modeling은 클래스 간의 관계를 중점적으로 보여주는 모델링을 의미한다. 시스템 전반의 흐름을 나타내는 Dynamic interaction modeling과 달리 class가 하는 역할과 class 간의 상호작용을 Static modeling에서 살펴볼 수 있다. 저번 Requirments Modeling vs Stat.. 2021. 10. 21. [C++ Example#04] 클래스 예제코드 Class 예제 코드 #include using namespace std; class hooProgramming { public: void displayMessages() const { cout 2020. 2. 13. 이전 1 다음 728x90