본문 바로가기

클래스 작성: 필드, 컨스트럭터, 메소드

English

Make your own type

  • So far you used classes like String and Math that Java gave you.
  • Now you will write your own class. A class is a plan for an object.
  • An object holds data (its own values) and methods (things it can do).

A Dog class is a blueprint; two new Dog objects are built from it

교재 자료

로그인 또는 계정 만들기

IGCSE, A-Level & AP