ICSE Class 10 Constructors
Quiz
•
Computers
•
10th Grade
•
Hard
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

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple

Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
50 questions
Soal Kejuruan TKJ 4
Quiz
•
10th - 11th Grade
45 questions
Computer Architecture : Basic
Quiz
•
8th - 10th Grade
44 questions
Python
Quiz
•
10th Grade
43 questions
Digital literacy quiz
Quiz
•
10th Grade
50 questions
Informatika Kelas X analisis data & algoritma pemrograman
Quiz
•
10th Grade
45 questions
GCSE Computing
Quiz
•
10th - 11th Grade
50 questions
TIN HỌC 10 HK2
Quiz
•
10th - 12th Grade
44 questions
AP Computer Science Principles Units 1, 2 & 3
Quiz
•
10th - 12th Grade
Popular Resources on Wayground
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
11 questions
NEASC Extended Advisory
Lesson
•
9th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
10 questions
Boomer ⚡ Zoomer - Holiday Movies
Quiz
•
KG - University
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns
Quiz
•
3rd Grade
20 questions
Multiplying and Dividing Integers
Quiz
•
7th Grade