업그레이트 (UpGreate)

- 威武不屈


  • Home

  • Categories

  • About

  • Archives

  • Tags

  • Search

python_상속과 다형성

Posted on 2019-08-19 | In LANGUAGE

상속과 다형성

상속이란?

  • 부모클래스의 모든 멤버를 자식에게 물려줄 수 있는 것이다.

다형성(Overide)

  • 상속받은 메소드 바디를 덮어쓰기

사용법

1
class 자식클래스(부모클래스)
# Python
SW Expert Academy - D2_1974
SW Expert Academy - D2_1970
  • Table of Contents
  • Overview
Sik

Sik

156 posts
7 categories
30 tags
RSS
  1. 1 상속이란?
  2. 2 다형성(Overide)
  3. 3 사용법
© 2021 Sik
Powered by Jekyll
Theme - NexT.Muse