Java Long intValue Example
Long class intValue method example.
Long class intValue method example. This example shows you how to use intValue method. This method generates the integer type values of Long object.
Syntax:- intValue()
Here is the code:-
public class IntValueLong {
public static void main(String args[]) {
// method returns the Long object value into integer type value
Long t = new Long(35453);
System.out.println("your returned integer type value is "
+ t.intValue());
}
} |
|