‘壹’ public class test { public static void main (String []args){String s;System.out.println(s"="+s);}}
编译错误。错误1.s"="+s ---> "s=" + s;错误2.因为s没有被初始化,因此编译通不过。这个he String str = null;不同希望对你有所帮助