상속,inheritance

상속,inheritance (rev. 1.13)

QQQ
이건 필연적으로 항상 트리,tree구조? 아님 예외가 있는지?
- 다중상속에 다이아구조 생각해보면 아님.. (부모가 둘 이상이 가능하므로)

Sub:
단일상속,single_inheritance =단일상속,single_inheritance =,single_inheritance 단일상속 single_inheritance
{
단일상속 single inheritance

superclass가 오직 하나뿐인 상속,inheritance?


다중상속,multiple_inheritance =다중상속,multiple_inheritance =,multiple_inheritance . 다중상속 multiple_inheritance
{
다중상속 multiple inheritance

superclass가 둘 이상 있을 수 있는



가상상속,virtual_inheritance =가상상속,virtual_inheritance =,virtual_inheritance 가상상속 virtual_inheritance
{
가상상속 virtual inheritance







오버로딩,overloading = function_overloading or method_overloading
{
가상함수,virtual_function / 가상메소드,virtual_method와 혼동하지 말라. - cmp



https://zetawiki.com/wiki/Is-a,_has-a
is_a have_a
inheritance aggregation/composition .... 저것들 pagename TBD. NdEn:aggregation NdEn:composition Zeta:객체_컴포지션,_애그리게이션
rel.
↑ superclass
↓ subclass



CSS에서 상속
부모 요소,element에 적용된 속성,attribute
자식 요소에도 자동으로 적용되는 현상이다.
예를 들어 <html> 안에 <body> 안에 <h1> 이 있는 HTML 문서에선 <html>에 적용된 스타일,style은 자동으로 <body>와 <h1>로 상속된다.


'inheritance'의 번역은, see NN:inheritance and NdEn:inheritance
OO에선 거의 대체로 '상속'.
유전학,genetics에선 유전,inheritance으로도 번역 가능. See Ggl:유전 inheritance
cf. 유전은 유전,heredity으로 번역 가능.






Up: OO