Find an incorrect assignment

Report a typo

Find an incorrect assignment.


Object obj1 = new Object(); // (1)

Object obj2 = new String("Object"); // (2)

String str = new Object(); // (3)

Object obj3 = new MyCustomClass(); // (4)
Select one option from the list
___

Create a free account to access the full topic