How-to articles, tricks, and solutions about LONG-INTEGER
How do I convert from int to Long in Java?
To convert an int to a long in Java, you can simply use the typecast operator (long) and place it in front of the value you want to convert.