Search Header Logo

ICSE Class 10 Constructors

Authored by scoremaster JAVA

Computers

10th Grade

Used 2+ times

ICSE Class 10 Constructors
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

47 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which keyword is used to define a constructor?

constructor

init

class name

method

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

When is a constructor called?

When an object is created

When class is defined

When variable declared

When method is invoked

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these is true about constructor?

Has same name as class

Has return type

Can be abstract

Called using . operator

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is NOT a type of constructor?

Default

Parameterized

Copy

Destructor

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

If no constructor is defined, Java provides:

No constructor

Default constructor

Error

Destructor

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following about constructors is false?

They initialize objects

They can be overloaded

They can return int

They have no return type

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What differentiates constructor from method?

Constructor initializes object; method defines behavior

Method has same name as class

Constructor must return value

Constructor always static

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?