Skip to content · ⁨본문 바로가기⁩
English

A class is a blueprint

  • A class defines a new kind of thing — a user-defined type.
  • An object is one item made from that class.
  • One Dog class can make many dog objects, each with its own data.

한국어

클래스는 설계도(blueprint)입니다

  • **클래스(class)**는 새로운 종류의 사물을 정의합니다 — 사용자 정의 유형입니다.
  • **オブジェクト(object)**는 해당 클래스로부터 만들어진 하나의实例입니다.
  • 하나의 Dog class에서 여러 개의 dog objects를 만들 수 있으며, 각각 고유한 데이터를 가집니다.

A Point class is a blueprint; p and q are objects, each with its own x and y

Handout · ⁨교재 자료⁩

Log in or create account · ⁨로그인 또는 계정 만들기⁩

IGCSE, A-Level & AP