java问题,这个程序问题出在哪?
classEx3_01{inta=9;floatb;a=12;b=12.34f;voidf(){System.out.println(a);System.out.prin...
class Ex3_01
{
int a=9;
float b;
a=12;
b=12.34f;
void f()
{
System.out.println(a);
System.out.println(b);
}
public static void main(String args[])
{
Ex3_01 e1=new Ex3_01();
e1.f();
}
} 展开
{
int a=9;
float b;
a=12;
b=12.34f;
void f()
{
System.out.println(a);
System.out.println(b);
}
public static void main(String args[])
{
Ex3_01 e1=new Ex3_01();
e1.f();
}
} 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询