Ads Top

Introduction To Java: Activity


The codes that I used:



public class TestArgs
 { 
  public static void main(String[]args)
   {
 System.out.println(""+args[5]+":"+args[9]+args[8]+"\n"+args[6]+":"+args[11]+args[2]+"\n"+args[1]+":"+args[7]+"\n"+args[10]+":"+args[0]+"\n"+args[4]+":"+args[3]);
   } 
   
}

Snapshot:


No comments:

Hello! Thanks for commenting on DREAMCATCHER! I will get back to you as soon as possible! Don't forget to leave your blog site so I can visit you back!

Powered by Blogger.