The given example will discuss about valueOf(long lnum) method of Java String class.
According to Java's Primitive Data Types long is ...
8 bytes signed (two's complement). That ranges from -9,223,372,036,854,775,808 to +9,223,372,036,854,775,807.
In this example we are going to display the min range of long in Java using valueOf(long lnum) method.
a simple example:
public static void main(String args)
String minimumStr = String.valueOf(Long.MIN_VALUE);
// long values.
the output is:
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.