import java.util.*;
import java.io.*;
class Print
{
public static void main(String[] args) throws Exception
{
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
PrintWriter out = PrintWriter(System.out,true);
String line = br.readLine();
out.println(line);
br.close();
out.close();
}
}
我想实现的是 从键盘录入 然后控制台输出,为啥总报错呢? PrintWriter out = PrintWriter(System.out,true);这段代码总说找不到符号,求大神帮忙~!
|