其他分享
首页 > 其他分享> > com.xu.base.Demo07

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

标签:String,int,base,Demo07,xu,com,out
来源: https://www.cnblogs.com/xunzhao26/p/14802833.html