首页 > 试题广场 >

下面程序的错误是什么? 1 public class Te

[问答题]
下面程序的错误是什么?
1 public class Test {
 2 String text; 
3 
4 public void TestCString s) {
 5 text
-
s;
 6 }
7
8 public static void main(String[] args) {
 9 Test test » new Test(MABCM);
 10 System.out.println(test); 
11 }
 12 }

这道题你会答吗?花几分钟告诉大家答案吧!