ข้ามไปยังเนื้อหา

Objects: state, behaviour and an interface

แนะนำใหม่
บทเรียนวิดีโอสำหรับหัวข้อนี้ เปิดหน้าวิดีโอ
3:45

การเขียนโปรแกรม Object-oriented

แอปพลิเคชันโรงเรียนติดตามข้อมูลนักเรียนหลักพันคน แต่ละคนมีชื่อ ระดับชั้น และคะแนนสอบ โดยแต่ละคนสามารถสมัครเรียนหลักสูตรหรือได้รับเกรด แยกตัวแปรสำหรับ…

บรรยายภาษาอังกฤษ · สลับคำบรรยายภาษาอังกฤษและภาษาจีนได้

ในบทเรียนนี้

บทเรียนวิดีโอ
คำศัพท์
English ความหมาย
object/ˈɒbdʒekt/An entity in a program with associated state and behaviour, often an instance of a class.
class/klæs/The template; an object is one instance.
state/steɪt/The current values of an object's attributes.
behaviour/bɪˈheɪvjə/The actions or responses provided by an object's methods.
instance/ˈɪnstəns/อินสแตนซ์
encapsulation/ɪnˌkæpsjʊˈleɪʃn/การห่อหุ้ม
invariant/ɪnˈveərɪənt/a condition about an object's state that must always remain true
ถัดไป →

เอกสารประกอบการเรียน

เข้าสู่ระบบหรือสร้างบัญชี

IGCSE, A-Level & AP