Arrays and Strings

Casual Mode - Take your time!

1 / 11
Correct
0
Incorrect
0
Score
0%
Multiple Choice

How many string objects are created by the given statement?
String str=new String(“Aliens”);

  1. 0
  2. 1
  3. 2
  4. 4
Change Mode