I have compiled this code but it says "could not find or load main class test3"
test3 is the name of file.
The code is:
class TowDArray {
public static void main(String args[]) {
int twoD[][]=new int[4][5];
int i,j,k=0;
for (i=0;i<4;i++)
for (j=0;j<5;j++) {
twoD[i][j]=k;
k++;
}
for (i=0;i<4;i++){
for (j=0;j<5;j++)
System.out.print(twoD[i][j]+" ");
System.out.println();
}
}
}
Can you please tell me what the problem is