Answers for "check if short int or long java"

0

check if short int or long java

if(x == (short)x)System.out.println("* short");
if(x == (int)x)System.out.println("* int");
if(x == (long)x)System.out.println("* long");
Posted by: Guest on May-16-2021

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language