import java.util.*;
public class SimpleArray {
public static void main(String[] Dx) {
// TODO Auto-generated method stub
String[] name = new String[5];
name[0]="Dx ";
name[1]="RAvi ";
name[2]="Mitul";
name[3]="Brijesh";
name[4]="Dhaval";
for(int i=0;i<5;i++)
{
System.out.println(" "+name[i]);
}
}
}
public class SimpleArray {
public static void main(String[] Dx) {
// TODO Auto-generated method stub
String[] name = new String[5];
name[0]="Dx ";
name[1]="RAvi ";
name[2]="Mitul";
name[3]="Brijesh";
name[4]="Dhaval";
for(int i=0;i<5;i++)
{
System.out.println(" "+name[i]);
}
}
}
No comments:
Post a Comment