ITPEC FE Subject A April 2024 Question 35
ITPEC FE Subject A April 2024 — Question 35 of 60
Class vs Object in OOP — class is a blueprint defining shared behavior and attributes; an object is a concrete instance of a class.
- •Class = template/blueprint that defines attributes and methods
- •Object = instance of a class with actual values
Why not others:
- (b) — reverses the relationship: says object is the blueprint of the class
- (c) — says class is an instance of objects, and object is a template — both reversed
- (d) — says class stores actual values — actual values belong to objects, not classes
Key rule: Class = blueprint/template, Object = instance with real data.
AI-generated — may contain errors
The original exam layout is preserved in the image so diagrams, formulas, tables, and code remain accurate.
This question comes from an official ITPEC past paper. ITPEC Practice is an independent study tool and is not affiliated with ITPEC. See the official FE past-paper collection or Report an issue.