Advertisement
Aseron

Untitled

Feb 17th, 2017
357
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.30 KB | None | 0 0
  1. public class prog1 {
  2.     // Írj egy programot, ami kiírja a parancssori argumentumokat, és azok számát!
  3.         public static void main(String []args){
  4.             for(int i=0;(i<args.length);i++){
  5.             System.out.println(args[i]);
  6.             }
  7.         System.out.println("A parancssori argumentum hossza: "+args.length);
  8.        
  9.         }
  10. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement