Answers for "int to long java"

0

int to long java

Long l= new Long(i); //first way
Long l2=Long.valueOf(i); //second way
Posted by: Guest on June-22-2020
0

java long to integer

// auto-unboxing does not go from Long to int directly, so
Integer i = (int) (long) theLong;
Posted by: Guest on November-25-2020
0

int to long java

(long) intValue;
Posted by: Guest on April-29-2021

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language