, 02-14-2011 at 11:02 AM (12981 Views)
Write a program to accept the following city name as argument in the command line and sort them in alphabetic order -
city name = Kolkata, Chennai, Mumbay, Delhi, Bangalore, Amedabad
public static void main(String args)
String names = new String;
Disclaimer: Users of techforum4u.com are responsible for ensuring that any material they post (article, blog posts, images or other mulitimedia content) does not violate or infringe upon the copyright, patent, trademark, or any personal or proprietary rights of any third party, and is posted with the permission of the owner of such rights.Anyone who violates these rules may have their access privileges removed without warning.