String定义字符串,实际操作
package hello; public class finallianxi { public static void main(String[] args) { String Strname = "一二三四"; System.out.println(Strname); int a = 1; System.out.println(a); final double PEI = 3.14; System.out.println(PEI); String a1=("hello"); String a3=("world"); String a2=a1; System.out.println(a1); System.out.println(a2); } }