1)what will be the output?
char[] c = new char[100];
c[50]
2) why the output is 24 what happend to other ...
class S {
public static void main(
String[] args) {
int[] dayhigh = { 24, 23, 24, 25, 25, 23,32 };
for(int i=0;i<dayhigh.length;i++)
{
System.out.println(dayhigh[0]);
}
}
}
24
24
24
24
24
24
24