In Java , which operator is used to create an object
A
class
B
scanf
C
print
D
None of these
Correct Answer: class
In Java, you create an object by creating an instance of a class or, in other words, instantiating a class. To create a new object, use Java's new operator. Here's an example using the new operator to create a Rectangle object (Rectangle is a class in the java. awt package).