logo

Question detail

Which statement best describes a class?

Try the question, check the answer, then read the explanation to understand the curriculum point.

At a glance

MCQ

Type

practice

Style

Topic

Programming paradigms

Exam-style question

Try this first

Which statement best describes a class?.

  1. A.A blueprint that defines common methods and property or attribute fields for objects
  2. B.A specific object created from another object
  3. C.A white diamond line used in a UML diagram
  4. D.A method that can only be called once

Model answer

What a good answer should say

  • A blueprint that defines common methods and property or attribute fields for objects

Explanation

Why this works

A class defines methods and property or attribute fields that capture the common behaviours and characteristics of objects.

Common mistake

No common mistake is linked to this question yet.

Related flashcards

No flashcards are published for this page yet.

Related practice questions

No questions are published for this page yet.