์์) ๊ฐ๊ฐ Constructor function์ผ๋ก ๋ง๋ค์ด์ง Parent Class์ธ Person๊ณผ Child Class์ธ Student๊ฐ ์๋ค๊ณ ๊ฐ์ ํ์. Student๋ Person์ methods์ propeties๋ฅผ ์์๋ฐ์ ์ ์๊ณ ์ข๋ ๊ตฌ์ฒด์ ์ด๋ค. ์ด๋ฌํ
Object-oriented programming(OOP) is a programming paradigm based on the concept of objects. (์ฐธ๊ณ paradigm : Style of code, 'how' we write and organize
class? ์ฐ๊ด์๋ data๋ค ํ ๋ฐ ๋ฌถ์ด๋๋ container ๊ฐ์ ์์ด.field ์์ฑ : name, agemethod ํ๋ : speak();์ฆ class๋ fields์ methods๊ฐ ์ข ํฉ์ ์ผ๋ก ๋ฌถ์ฌ์๋ค. class : template ํ์ ๋ง๋ ๋ค. dec