Java Program to Convert Int to Long

This article shows how to write a Java program to convert integer or int to the long data type. We can use the assignment operator (=) to convert the lower (integer) to the higher data type (long). The equals operator implicitly converts the integer to long. Java Program to Convert Int to Long In the … Read more