- Engineering
- Electronics Engineering
- 1 look at the code sample below find the errors...
Question: 1 look at the code sample below find the errors...
Question details
1. Look at the code sample below, find the errors and write out the corrected code.
/* This program contains errors! */
int[] table = new int[10];
for (int x = 1; x <= 10; x++) {
table[x] = 99;
}
Solution by an expert tutor
