66 840
Assignments Done
99,1%
Successfully Done
In October 2018

Answer to Question #19857 in Java | JSP | JSF for nohra

Question #19857
24. What is the output of this code sequence?
for (int i = 0; i < cities.length; i++ )
{
for ( int j = 0; j < cities[i].length; j++ )
{
if ( cities[i][j] .charAt( 0 ) == 'S' )
System.out.println( cities[i][j] );
} }
Expert's answer

The output will be table of city with name starts with letter &#039;S&#039;.

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be first!

Leave a comment

Ask Your question

Submit
Privacy policy Terms and Conditions