ITPEC FE Morning April 2021 Question 47

Source exam: ITPEC FE Morning April 2021Topic: Software Development

ITPEC FE Morning April 2021 — Question 47 of 80

Classes and Instances in OOP — an instance is created based on the definition of a class.

A class is a blueprint that defines attributes and methods. An instance (object) is a concrete entity created from that class at runtime.

  • Class → Instance: one class can produce many instances
  • Instance → Class: each instance belongs to exactly one class

Why not others:
- (a) Reversed — the class defines specifications, not the instance

- (c) An instance is created from one class, not multiple

- (d) Multiple instances can exist for a single class; only the Singleton pattern restricts this

Key rule: Class = blueprint, Instance = object built from that blueprint.

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.