Quiz 3
Quiz 3
♠
Name : _________________________________ Reg No. ___________________
1. What is the size of chat data type in java
1. 32 bits
2. 8 bits
3. 16 bits
4. 64 bits
Result = 27 | 8;
1. 27
2. 35
3. 19
4. 8
4.What will be the content of array variable table after execting the
following code
for(int i=0; i<3; i++)
for(int j=0; j<3; j++)
if(j==i)
table[i][j]=1;
else
table[i][j]=0;
1. 100 110 111
2. 001 010 100
3. 100 010 001
4. 000 000 000