Output Questions for Class 10 ICSE Computer Applications

Give the output of the following statements:

String x[] = {"SAMSUNG", "NOKIA", "SONY", "MICROMAX", "BLACKBERRY"};

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

Java

Java String Handling

ICSE 2017

22 Likes

Answer

NOKIA

Working

x[1] gives the second element of the array x which is "NOKIA"

Answered By

12 Likes