Testeksamne, og andre ting
This commit is contained in:
14
Testeksamen/kode/Example.java
Normal file
14
Testeksamen/kode/Example.java
Normal file
@@ -0,0 +1,14 @@
|
||||
public class Example {
|
||||
public static void main(String[] args) {
|
||||
boolean m[][] = { { true, false, true, true },
|
||||
{ true, false, true, false },
|
||||
{ true, false, true, true } };
|
||||
System.out.println("++++++++++++");
|
||||
Grid g = new Grid(m);
|
||||
System.out.println(g);
|
||||
System.out.println("++++++++++++");
|
||||
g.update();
|
||||
System.out.println(g);
|
||||
System.out.println("++++++++++++");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user