Long.valueOf(long l) has the following syntax.
public static Long valueOf(long l)
In the following code shows how to use Long.valueOf(long l) method.
public class Main { public static void main(String[] args) { System.out.println("Value = " + Long.valueOf(1234567890987654L)); } }
The code above generates the following result.