public class Values { public static void main(String[] args) { // Ihre Lösung kommt hier hin } } Values.main(new String[0]); public class Range { public static void main(String[] args) { System.out.println("int stellt Zahlen von " + Integer.MIN_VALUE + " bis " + Integer.MAX_VALUE + " dar."); System.out.println("Dies ist in etwa +- 2 Milliarden."); System.out.println("long stellt Zahlen von " + Long.MIN_VALUE + " bis " + Long.MAX_VALUE + " dar."); System.out.println("Dies ist in etwa +- 9 Trillionen."); System.out.println("float stellt Zahlen von " + (-Float.MAX_VALUE) + " bis " + Float.MAX_VALUE + " dar."); System.out.println("double stellt Zahlen von " + (-Double.MAX_VALUE) + " bis " + Double.MAX_VALUE + " dar."); System.out.println(Float.MIN_VALUE + " ist nur etwas grösser als 0.0f."); System.out.println(Double.MIN_VALUE + " ist nur etwas grösser als 0.0."); } } Range.main(new String[0]); public class MemoryFootprint { public static void main(String[] args) { System.out.println("int belegt " + Integer.SIZE + " Bits im Speicher."); System.out.println("long belegt " + Long.SIZE + " Bits im Speicher."); System.out.println("float belegt " + Float.SIZE + " Bits im Speicher."); System.out.println("double belegt " + Double.SIZE + " Bits im Speicher."); } } MemoryFootprint.main(new String[0]); public class ConstantValues { public static void main(String[] args) { final int MAX_LENGTH = 12; System.out.println(MAX_LENGTH + " und " + Math.PI + " sind Werte von Konstanten."); } } ConstantValues.main(new String[0]); public class GardenFence { public static void main(String[] args) { // Ihre Lösung kommt hier hin } } GardenFence.main(new String[0]); public class TypeCasts { public static void main(String[] args) { // Ihre Lösung kommt hier hin } } TypeCasts.main(new String[0]); public class Summation { public static void main(String[] args) { // Ihre Lösung kommt hier hin } } Summation.main(new String[0]); public class Summation2{ public static void main(String[] args) { double result = 1.0 / 6.0 + 1.0 / 6.0 + 1.0 / 6.0 + 1.0 / 6.0 + 1.0 / 6.0 + 1.0 / 6.0; System.out.println("Erwartet 1.0, tatsächlich " + result); } } Summation2.main(new String[0]); public class Summation3 { public static void main(String[] args) { double a = 13.0; double b = Math.PI; double c = 21.45; double solution_student = a + b + c; System.out.println("The solution of the student is: " + solution_student); double solution_teacher = a + c + b; System.out.println("The solution of the teacher is: " + solution_teacher); } } Summation3.main(new String[0]);