package test1;
public class test {
public static void main(String[] args) {
double a = 3.14;
double b = 2.7689343;
int c = 365;
int d = 12;
String e = "吃";
boolean f = true;
String g = "不可描述";
System.out.println(a);
System.out.println(b);
System.out.println(c);
System.out.println(d);
System.out.println(e);
System.out.println(f);
System.out.println(g);
}
}
java数值类型实例
猜你喜欢
转载自blog.csdn.net/nuoyuezuo/article/details/84568306
今日推荐
周排行