com.xu.base.Demo07

package com.xu.base;

public class Demo07 {
public static void main(String[] args) {
int a,b,c;//不建议这样写值
int a1=1,b1=2,c1=3;//这样也不好;
int a2=1;
int b2=2;
int c2=3;//尽量这样写,注重程序的可读性;
String name="qinjiang";
char x='X';
double pi=3.14;
System.out.println(name);


}

}

\Desktop\JavaSE\out\production\基础语法" com.xu.base.Demo07
qinjiang

Process finished with exit code 0

上一篇:com.xu.struct.DoWhileDemo01


下一篇:异常-银行账户异常处理