ICSE Class 10 Constructors

ICSE Class 10 Constructors

10th Grade

47 Qs

quiz-placeholder

Similar activities

Java ad oggetti e UML

Java ad oggetti e UML

10th Grade

47 Qs

Pre-MTA

Pre-MTA

10th - 11th Grade

50 Qs

Java 101

Java 101

9th - 11th Grade

45 Qs

Latih Tubi SK F4 (1.5.2/1.6.1/3.2/1.3.1/1.3.2/1.2.3/1.5)

Latih Tubi SK F4 (1.5.2/1.6.1/3.2/1.3.1/1.3.2/1.2.3/1.5)

10th - 11th Grade

42 Qs

General Trivia Quiz 2025

General Trivia Quiz 2025

6th Grade - University

49 Qs

Parts of DSLR Camera

Parts of DSLR Camera

10th - 12th Grade

43 Qs

Communication Styles

Communication Styles

9th - 12th Grade

50 Qs

ICSE Class 10 Computer Applications Quiz

ICSE Class 10 Computer Applications Quiz

10th Grade

47 Qs

ICSE Class 10 Constructors

ICSE Class 10 Constructors

Assessment

Quiz

Computers

10th Grade

Hard

Created by

scoremaster JAVA

FREE Resource

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

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?