Tuesday, 4 June 2013

Reading Console Input at Exec time

/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package demo;

/**
*
* @author saeed
*/
public class Demo {

/**
* @param args the command line arguments
*/
public static void main(String[] args) {
// TODO code application logic here
for(int i=0;i<args.length;i++)
System.out.println(args[i]);

}
}

No comments:

Post a Comment