package com.API;
public class TestBao {
public static void main(String[] args) {
// int i = 10;
// System.out.println(i + 10);
// //基本数据类没有继承object面向对象的特征
// System.out.println(i.toString());
//byte -> Byte;
// Integer i = new Integer(10);
// Integer ii = 10;
// System.out.println(ii + 10);
//包装类封装了字符串
String a = "1";
String b = "1";
System.out.println(a + b);
//字符串转成可计算得 666
//Integer.ParseInt();
int c = Integer.parseInt(a);
int D = Integer.parseInt(b);
System.out.println(c);
System.out.println(D);
String e = "1.55";
double f = Double.parseDouble(e);
System.out.println(f);
String h = "1.33333";
double m = Double.parseDouble(h);
System.out.println(m);
}
}