Created
August 31, 2019 02:29
-
-
Save takahashi-h5/8a24efe0aed8e02489f57910ca8d04fc to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class Main { | |
static int i; | |
static boolean flag; | |
static short s; | |
static float f; | |
static double d; | |
static long l; | |
static char c; | |
static byte b; | |
public static void main(String[] args) { | |
System.out.println(i); // 0 | |
System.out.println(flag); // false | |
System.out.println(s); // 0 | |
System.out.println(f); // 0.0 | |
System.out.println(d); // 0.0 | |
System.out.println(l); // 0 | |
System.out.println(":" + c + ":"); // : : | |
System.out.println(b);// 0 | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment