请写出下列程序的输出结果

问题描述:

请写出下列程序的输出结果

public class Test52
{
String str1=”Hello,Java world!\t”;
String str2=”Hello,students!” ;
public static void main(String args[])
{
System.out.print(str1);
System.out.println(str2);
}
}

public class T2_4 {
public static void main(String[] args)
{
int i,j;
char c='*';
for(i=0;iw;
System.out.println("z>w=="+flag);
}
}

1编译错误,main方法不能调用非static的变量如果这样修改下public class Test52{ static String str1 = "Hello, Java world! \t"; static String str2 = "Hello, students!";public static void main(String args...