ICSE Class 10 Constructors

ICSE Class 10 Constructors

10th Grade

47 Qs

quiz-placeholder

Similar activities

Uji Pengetahuan UKK TKJ 2023

Uji Pengetahuan UKK TKJ 2023

9th - 12th Grade

50 Qs

SUMATIF TENGAH SEMESTER (STS) GANJIL

SUMATIF TENGAH SEMESTER (STS) GANJIL

10th Grade

50 Qs

Pemrograman Dasar

Pemrograman Dasar

10th - 12th Grade

50 Qs

ÔN TẬP CHỦ ĐỀ F TIN 10

ÔN TẬP CHỦ ĐỀ F TIN 10

9th - 12th Grade

49 Qs

Tin 10_cấu trúc rẽ nhánh IF

Tin 10_cấu trúc rẽ nhánh IF

10th Grade

48 Qs

UH BAB 1 DAN BAB 2 INFORMATIKA KELAS 10

UH BAB 1 DAN BAB 2 INFORMATIKA KELAS 10

10th Grade

50 Qs

Simulasi Digital1

Simulasi Digital1

10th Grade

50 Qs

LATIHAN PAT INFORMATIKA KELAS X

LATIHAN PAT INFORMATIKA KELAS X

9th - 12th Grade

50 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

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?