logo

AQA A-Level Computer Science practice

Which statement best describes a class?

Try the question first, then check the answer and practise the same topic again.

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

Answer and explanation

Concise answer

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

Why this is correct

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

Use the concise answer above for a quick check, then reveal the full model answer and detailed explanation.

Common mistake

No common mistake is linked to this question yet.

Related flashcards

No flashcards are published for this page yet.

Related practice questions