用java编写一个程序,输出各种数据的初始值
引用排骨小盆友的回答:
public class Default {
static public int a;
static public char b;
static public float c;
static public double d;
static public String e;
static public boolean f;
public static void main(String[] args){
System.out.println(a);
System.out.println(b);
System.out.println(c);
System.out.println(d);
System.out.println(e);
System.out.println(f);
}
}
public class Default {
static public int a;
static public char b;
static public float c;
static public double d;
static public String e;
static public boolean f;
public static void main(String[] args){
System.out.println(a);
System.out.println(b);
System.out.println(c);
System.out.println(d);
System.out.println(e);
System.out.println(f);
}
}
展开全部
public class Default {
static public int a;
static public char b;
static public float c;
static public double d;
static public String e;
static public boolean f;
public static void main(String[] args){
System.out.println(a);
System.out.println(b);
System.out.println(c);
System.out.println(d);
System.out.println(e);
System.out.println(f);
}
}
static public int a;
static public char b;
static public float c;
static public double d;
static public String e;
static public boolean f;
public static void main(String[] args){
System.out.println(a);
System.out.println(b);
System.out.println(c);
System.out.println(d);
System.out.println(e);
System.out.println(f);
}
}
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询