Created
October 25, 2016 21:35
-
-
Save silavsale/4a6eaa1200711b4c666bfedaf75b8382 to your computer and use it in GitHub Desktop.
TypeConvert перетворення типів даних
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 TypeConvert { | |
public static void main(String[] args) { | |
System.out.println("Значення byte Від " + Byte.MIN_VALUE + " До " +Byte.MAX_VALUE); | |
System.out.println("Значення short Від " + Short.MIN_VALUE + " До " + Short.MAX_VALUE); | |
System.out.println("Значення int Від " + Integer.MIN_VALUE + " До " + Integer.MAX_VALUE); | |
System.out.println("Значення long Від " + Long.MIN_VALUE + " До " + Long.MAX_VALUE); | |
System.out.println("---------------------------------------------------------------"); | |
System.out.println("Значення float Від " + Float.MIN_VALUE + " До " + Float.MAX_VALUE); | |
System.out.println("Значення double Від " + Double.MIN_VALUE + " До " + Double.MAX_VALUE); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment