Which keyword is used to create an instance of a class in most programming…

PYQ Bihar STET 2025PYQ Bihar STET 2023Modified — slightly modified from the official paper; see the solution

Which keyword is used to create an instance of a class in most programming languages?

  1. A.

    alloc

  2. B.

    new

  3. C.

    create

  4. D.

    instance

Attempted by 2235 students.

Sign up free to check your answer

Sign up free

Explore the full course: Bihar Stet Computer Science Complete Course

Loading lesson…