Skip to content

Computer Science · Class 11 · ISC

Constructors

Default, parameterised and copy constructors, and the difference between a constructor and a method.

5questions

Board PYQs
0
Practice
5
Topics
0
  • Most common: 3 marks

Syllabus mapping: ISC syllabus (CISCE) (opens CISCE's website in a new tab)

5 questions

  • Practice question

    3 marks

    State three differences between a constructor and a method.

    ConstructorsMediumShort answer

  • Practice question

    3 marks

    What is constructor overloading? Give one situation in which it is useful.

    ConstructorsMediumShort answer

  • Practice question

    2 marks

    What is a constructor? State three of its characteristics.

    ConstructorsEasyShort answer

  • Practice question

    3 marks

    Distinguish between a default constructor and a parameterised constructor, and state what a copy constructor does.

    ConstructorsMediumShort answer

  • Practice question

    3 marks

    Write a class Rectangle with a parameterised constructor and a method to return its area.

    ConstructorsMediumApplication based