logo

Crowdly

Browser

Add to Chrome

What is the output of the following Java code? String[] fruits = {"apple", "ba...

✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.

What is the output of the following Java code?

String[] fruits = {"apple", "banana", "cherry"};

System.out.println(fruits[1]);

More questions like this

Want instant access to all verified answers on moodle.polytechnic.bh?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!

Browser

Add to Chrome