public class Main {/** 来 自 时 代 J a v a 公 众 号 - nowjava.com**/
public static void main(String[] args) {
//1. Construct Long using constructor.
Long lObj1 = new Long("100");
System.out.println(lObj1);
//2. Use valueOf method of Long class. This method is static.
String str = "100";
/**代码未完, 请加载全部代码(NowJava.com).**/
本文系作者在时代Java发表,未经许可,不得转载。如有侵权,请联系nowjava@qq.com删除。