Skip to content
Sharp

Object-oriented programming · interview question

What keyword is used to create a new object in Java?

Multiple choiceEasychapter-2-curatedpremiumoopclasses-and-objects
Choose one answer
Answer and explanation

Correct answer

C. New

Why

The 'new' keyword is used in Java to create new objects by calling the constructor of a class.

Test yourself on Object-oriented programming

A free test with instant, explained results. No account needed.

Start free test
All Object-oriented programming questions →