Long(long value) constructor from Long has the following syntax.
public Long(long value)
In the following code shows how to use Long.Long(long value) constructor.
public class Main { public static void main(String[] args) { Long long1 = new Long(12345L); System.out.println(long1); } }
The output: