Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |
Tags
- instruction
- github
- mysql
- python
- react
- DS
- html
- php
- DATAPATH
- control
- Class
- Java
- Linux
- function
- MacOS
- data structure
- while
- javascript
- system
- web
- Algorithm
- MIPS
- DB
- DoM
- Pipelining
- XML
- computer
- for
- CSS
- architecture
Archives
- Today
- Total
목록Polymorphism (1)
YYYEJI
[OOP] Encapsulation, Polymorphism, Inheritance
OOP의 디자인 3원칙이 있습니다. ① Encapsulation ② Polymorphism ③ Inheritance Encapsulation 객체가 어떻게 구현되어 있는지 외부에서 감추는 것입니다. 즉, 함수를 사용할 때 코드가 어떻게 짜여 있는지 몰라도 사용 방법만 알면 함수를 사용할 수 있습니다. ✓ 정보은닉(Information Hiding) Polymorphism 쉽게 풀어서 많은 형태를 의미합니다. 같은 단어로 되어 있지만 다른 action(or contents)를 의미합니다. 즉, output을 예로 들면 어떤 상황에서는 int 형이고, 어떤 상황에서는 float 형태인 상황입니다. https://yyyeji.tistory.com/350 [JAVA] 오버라이딩(Overriding)이란? 오버라..
Java
2022. 10. 21. 03:24