diff options
| author | Eugen Wissner <belka@caraus.de> | 2025-12-07 12:22:07 +0100 |
|---|---|---|
| committer | Eugen Wissner <belka@caraus.de> | 2025-12-07 12:22:07 +0100 |
| commit | c95abc31d62e296db4f1b537e3de440dd40defd1 (patch) | |
| tree | 45417635579e5a611aaee111be631ccceba78fed /Java-Kompendium/kap22/2/Main.java | |
| parent | 5eded28b16a67fb3ef6bd1cce5526d4dc2de39ab (diff) | |
| download | book-exercises-c95abc31d62e296db4f1b537e3de440dd40defd1.tar.gz | |
Finish Java Kompendium book
Diffstat (limited to 'Java-Kompendium/kap22/2/Main.java')
| -rw-r--r-- | Java-Kompendium/kap22/2/Main.java | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Java-Kompendium/kap22/2/Main.java b/Java-Kompendium/kap22/2/Main.java new file mode 100644 index 0000000..1024596 --- /dev/null +++ b/Java-Kompendium/kap22/2/Main.java @@ -0,0 +1,9 @@ +public class Main { + public static void main(String[] arguments) { + var i = new GenericClass<Integer>(2); + var l = new GenericClass<Long>(1l); + + System.out.println(i.value); + System.out.println(l.value); + } +} |
