Java - Arrays
Which of the following is the correct syntax to declare and initialize an array of strings with values "apple", "banana", "cherry"?
new String[] { ... } syntax.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions