Programming/Common

Overloadding vs Overridding, Deep copy vs Shallow copy

i독 2021. 10. 13. 07:29

Overridding > 부모의 Class의 기능을 재정의. (inherit)

Overloadding > 과적하다, 형태가 다르면 같은 이름의 메소드를 쌓아올릴 수 있다.

 

Deep copy > 복사 생성자에서 새로운 메모리를 할당.

Shallow copy > 주소를 참조.

'Programming > Common' 카테고리의 다른 글

Generic > Generic Programming  (0) 2021.10.13
Singletone, Polymorphism  (0) 2021.10.13
Quality Assurance Program  (0) 2021.10.13
definition or implementation, Parameter vs Argument, Iteration  (0) 2021.10.13
Benchmark, Profiling  (0) 2021.10.13