WAP to input 10 country names and their respective capitals store 2 different SDA. Now arrange
the country name in alphabetical order. Now print the sorted country names along with their
capitals.
Answers
Answered by
1
The output of the following statement, when executed:
System.out.println("COMPUTER".charAt(4)); is U
Attachments:
Similar questions