/** * Prints all primitive types * @version 1.0 05/02/22 * @author Ewen Horville */ public class Demarrage { /** * Main function which declares and prints all types.. */ public static void main(String[] args) { byte a = 1; short b = 50; int c = 30; long d = 64L; boolean e = true; char f = 'G'; float g = 1.53f; double h = 32.2d; System.out.println(a); System.out.println(b); System.out.println(c); System.out.println(d); System.out.println(e); System.out.println(f); System.out.println(g); System.out.println(h); } }