1. Using Objects and Methods
Object Creation And Storage (instantiation) — Quiz
Test your understanding of object creation and storage (instantiation) with 5 practice questions.
Practice Questions
Question 1
What does instantiation mean in Java when creating an object?
Question 2
Which line correctly creates a new $String$ object reference using instantiation?
Question 3
After the statement Scanner input = new Scanner(System.in);$, what is stored in $input?
Question 4
Which statement best describes a class in object creation?
Question 5
What is the main purpose of the $new$ keyword in Java?
