We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f469ba4 commit 0004de2Copy full SHA for 0004de2
1 file changed
src/ArrayInitialization.java
@@ -0,0 +1,9 @@
1
+public class ArrayInitialization {
2
+ public static void main(String[] args) {
3
+ int []days={31,28,31,31,30,28};
4
+ for (int i = 0; i < days.length; i++) {
5
+ System.out.println("Month "+(i+1)+" has "+days[i]+" days");
6
+
7
+ }
8
9
+}
0 commit comments