das war nur ein test

master
Christoph Klinck 2023-10-17 17:56:07 +02:00
commit 0b609eecb3
4 changed files with 42 additions and 0 deletions

1
Compile.java 100644
View File

@ -0,0 +1 @@
\u0070\u0075\u0062\u006C\u0069\u0063\u0020\u0063\u006C\u0061\u0073\u0073\u0020\u0043\u006F\u006D\u0070\u0069\u006C\u0065\u0020\u007B\u000A\u000A\u0009\u0070\u0075\u0062\u006C\u0069\u0063\u0020\u0073\u0074\u0061\u0074\u0069\u0063\u0020\u0076\u006F\u0069\u0064\u0020\u006D\u0061\u0069\u006E\u0028\u0053\u0074\u0072\u0069\u006E\u0067\u005B\u005D\u0020\u0061\u0072\u0067\u0073\u0029\u0020\u007B\u000A\u0009\u0009\u000A\u0009\u0009\u0053\u0079\u0073\u0074\u0065\u006D\u002E\u006F\u0075\u0074\u002E\u0070\u0072\u0069\u006E\u0074\u006C\u006E\u0028\u0022\u004C\u0069\u0065\u0062\u0065\u0072\u0020\u0050\u0052\u0031\u002D\u004B\u0075\u0072\u0073\u002E\u0020\u0048\u0065\u0072\u007A\u006C\u0069\u0063\u0068\u0020\u0057\u0069\u006C\u006C\u006B\u006F\u006D\u006D\u0065\u006E\u0020\u007A\u0075\u0072\u0020\u0065\u0072\u0073\u0074\u0065\u006E\u0020\u004A\u0061\u0076\u0061\u0020\u00DC\u0062\u0075\u006E\u0067\u002E\u0022\u0029\u003B\u000A\u0009\u007D\u000A\u007D

11
Exchange.java 100644
View File

@ -0,0 +1,11 @@
public class Exchange {
public static void main(String[] args) {
int a = 1234;
int b = 99;
int t = a;
a = b;
b = t;
}
}

24
Sum.java 100644
View File

@ -0,0 +1,24 @@
public class Sum {
public static void main(String[] args) {
int n;
int s;
int i;
n = 4;
s = 0;
i = 1;
while(i <=n) {
s = s + i;
i = i + 1;
}
System.out.println(s);
}
}

6
Trace-Table.md 100644
View File

@ -0,0 +1,6 @@
a b t
int a = 1234 1234 - -
int b = 99 1234 99 -
int t = a 1234 99 1234
a = b 99 99 1234
b = t 99 1234 1234