Question: Which best describes what the new keyword does? A. Creates a copy of an existing object and treats it as a new one. B. Creates
Which best describes what the new keyword does?
A. Creates a copy of an existing object and treats it as a new one.
B. Creates a new primitive.
C. Instantiates a new object.
D. Switches an object reference to a new one.
E. The behavior depends on the class implementation.
Step by Step Solution
3.44 Rating (154 Votes )
There are 3 Steps involved in it
The correct answer is C Instantiates a new object The keyword new is used in many programming langua... View full answer
Get step-by-step solutions from verified subject matter experts
