Java.Lang.Long class Defination:
The java.lang.Long class wraps an estimation of the crude kind long in an article. An object of sort Long contains a solitary field whose type is long.
Long class is a wrapper class for the crude kind long which contains a few techniques to successfully manage a long worth like changing over it to a string portrayal, and the other way around. An object of Long class can hold a solitary long worth.
A Long is a class, or a reference type, characterized in the standard library. It stores a reference to an article containing a worth (a "case").
The Long class wraps an estimation of the crude sort long in an item. An object of sort Long contains a solitary field whose type is long.
What's more, this class gives a few strategies to changing over a long to a String and a String to a long, just as different constants and techniques helpful when managing a long.
Long.parseLong(String): All the characters in the String must be digits with the exception of the principal character, which can be a digit or a less '- '. For instance – long var = Long.parseInt("- 123"); is permitted and the estimation of var after transformation would be - 123.
Long wrapper class is utilized to make an item form of a crude long worth.
long myNum = 15000000000L;