In a crime , three suspects X, Y, and Z were caught and questioned . Each person said, "One of the other two stole it . I did not do it. " Later on the police found out that Z was lying and these was only one thief . Who was the thief?

A X
B Y
C Z
D Someone else

Correct Answer: Z

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).
Bissoy MCQ

Related Questions

The police could have caught the thief if they ---- to
The police questioned each witness in-
When the police questioned him, he gave very incoherent answer at first.

Next steps