Constructors
Computer Science · Java
Loading practice question…
About this practice set
Constructors is part of Computer Science (Java). Questions are generated with new numbers each time you practise. Levels available: Easy. After you answer, an explanation is shown.
Example questions
A taste of what you will practise. Answers are revealed after you try.
Easy
What is a constructor in Java?
- A method that initialises a new object
- A loop
- An import
- A variable