Which of the following best defines a class?

Bihar STET · PGT (Paper 2) · Computer Science · 2023

Which of the following best defines a class?

  1. A.

    An instance of an object

  2. B.

    A blueprint for creating objects

  3. C.

    A variable holding data

  4. D.

    A function with a return value

Attempted by 48 students.

Show answer

Correct answer: B

The worked solution is available to enrolled students.

Explore the full course: Bihar Stet Paper Ii Computer Science

Loading lesson…