-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathIndiaStates.java
40 lines (38 loc) · 1023 Bytes
/
IndiaStates.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
public class IndiaStates {
public static void main(String[] args) {
String[] states = {
"Andhra Pradesh",
"Arunachal Pradesh",
"Assam",
"Bihar",
"Chhattisgarh",
"Goa",
"Gujarat",
"Haryana",
"Himachal Pradesh",
"Jharkhand",
"Karnataka",
"Kerala",
"Madhya Pradesh",
"Maharashtra",
"Manipur",
"Meghalaya",
"Mizoram",
"Nagaland",
"Odisha",
"Punjab",
"Rajasthan",
"Sikkim",
"Tamil Nadu",
"Telangana",
"Tripura",
"Uttar Pradesh",
"Uttarakhand",
"West Bengal"
};
System.out.println("List of Indian States:");
for (int i = 0; i < states.length; i++) {
System.out.println(states[i]);
}
}
}