User:Thakarar

How to create One Dimensional array:

class one_d

{ public static void main( String args[ ] ) {     int a[]=new int[10]; for(int i=0;i<10;i++) {        a[i]=Integer.parseInt(args[i]); System.out.println(+a[i]); } } }

When u run this program at that time after writing "JAVA " in command prompt enter 10 values....

-Nikunj Thakarar