import java.util.Arrays;
public class ClassA {
private static ClassB[][] classB_2Array;
public static void main(String[] args) {
classB_2Array = new ClassB[10][10];
for (ClassB[] classB_1Array : classB_2Array) {
Arrays.fill(classB_1Array, new ClassB());
}
classB_2Array[1][1].filledWithAsterix = true;
print();
classB_2Array = new ClassB[10][10];
System.out.println();
for (int i = 0; i < classB_2Array.length; i++) {
for (int j = 0; j < classB_2Array[0].length; j++) {
classB_2Array[i][j] = new ClassB();
}
}
classB_2Array[1][1].filledWithAsterix = true;
print();
}
private static void print() {
for (int i = 0; i < classB_2Array.length; i++) {
for (int j = 0; j < classB_2Array[0].length; j++) {
System.out.print(classB_2Array[i][j].getMark());
}
System.out.println();
}
}
}
class ClassB {
public boolean filledWithAsterix = false;
public String getMark() {
if (!filledWithAsterix)
return "*";
return "F";
}
}
/*
**********
FFFFFFFFFF
**********
**********
**********
**********
**********
**********
**********
**********
**********
*F********
**********
**********
**********
**********
**********
**********
**********
**********
*/