void () { printBoolean(true); printByte((byte) 123); printShort((short) 257); printInt(123); printLong(123L); printFloat(1.23F); printDouble(1.23); printChar('Z'); printBooleanBoxed(true); printByteBoxed((byte) 123); printShortBoxed((short) 257); printIntBoxed(1); printIntBoxed(40_000); printLongBoxed(123L); printFloatBoxed(1.23F); printDoubleBoxed(1.23); printCharBoxed('Z'); printBoolean(Boolean.valueOf("true")); printByte(Byte.valueOf("123")); printShort(Short.valueOf("257")); printInt(Integer.valueOf("123")); printLong(Long.valueOf("123")); printFloat(Float.valueOf("1.23")); printDouble(Double.valueOf("1.23")); printChar(new Character('Z')); printInt(getInteger()); printChar(getCharacter()); System.out.printf("%b, %d, %d, %d, %c, %d", true, 1, 213, 40_000, 'c', 42L); System.out.printf("%b, %d, %d, %d", getBoolean(), getByte(), getShort(), getInt()); new TestPrimitives(false, (byte) 123, (short) 257, 40_000, 123L, 3.14f, 1.618, 'A'); new TestPrimitives('A', 1.618, 3.14f, 123L, 40_000, (short) 257, (byte) 123, false); new TestPrimitives(Boolean.valueOf("false"), Byte.valueOf("123"), Short.valueOf("257"), Integer.valueOf("40000"), Long.valueOf("123"), Float.valueOf("3.14"), Double.valueOf("1.618"), new Character('A')); }