diff options
Diffstat (limited to 'src/de/fhswf/in/inf/java1/tests')
| -rw-r--r-- | src/de/fhswf/in/inf/java1/tests/Tests.java | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/src/de/fhswf/in/inf/java1/tests/Tests.java b/src/de/fhswf/in/inf/java1/tests/Tests.java new file mode 100644 index 0000000..ddf711e --- /dev/null +++ b/src/de/fhswf/in/inf/java1/tests/Tests.java @@ -0,0 +1,31 @@ +package de.fhswf.in.inf.java1.tests;
+/**
+ *
+ * Test-Klasse für kleine Java-Snippets.
+ *
+ * @author $Author: $
+ * @version $Revision: $, $Date: $ UTC
+ */
+public final class Tests
+{
+ private Tests()
+ {
+
+ }
+
+ /**
+ *
+ * Haupt-Methode zum Testen von Java-Snippets.
+ *
+ * @param args
+ * Übergebene Argumente
+ */
+ public static void main(String[] args)
+ {
+ int a = -1;
+ System.out.println(Integer.toBinaryString(a));
+ System.out.println(Integer.toBinaryString(a >>> 1));
+
+ }
+
+}
|
