public class Forloop {
public static void main(String[] args) {
int array[]={21,34,65,76,95};
for(int a:array){
System.out.println(a);
}
}
}
public static void main(String[] args) {
int array[]={21,34,65,76,95};
for(int a:array){
System.out.println(a);
}
}
}
output:
21
34
65
76
95
No comments:
Post a Comment