java.lang.Long.getLong(String nm) java.lang.Long.floatValue() java.lang.Number.longValue() java.lang.Long.getLong(String nm) package com.codingdict; import java.lang.*; public class LongDemo { public static void main(String[] args) { // determines the Long value of the system property String str = "sun.arch.data.model"; System.out.println(Long.getLong(str)); // prints null str = "lang"; System.out.println(Long.getLong(str)); } } java.lang.Long.floatValue() java.lang.Number.longValue()