当前位置: 技术问答>java相关
谁帮我看看那儿出错了?
来源: 互联网 发布时间:2015-01-09
本文导语: import java.io.*; public class aa { public static void main(String args[]) throws Exception { BufferedReader br=new BufferedReader( new InputStreamReader(System.in)); String s; System.out.print("input a longchars:"); System.out.flush(); s=br.readLine(); System...
import java.io.*;
public class aa
{
public static void main(String args[]) throws Exception
{
BufferedReader br=new BufferedReader(
new InputStreamReader(System.in));
String s;
System.out.print("input a longchars:");
System.out.flush();
s=br.readLine();
System.out.printIn("your chars is:" + s);
}
}
错误提示:
aa.java:12: cannot resolve symbol
public class aa
{
public static void main(String args[]) throws Exception
{
BufferedReader br=new BufferedReader(
new InputStreamReader(System.in));
String s;
System.out.print("input a longchars:");
System.out.flush();
s=br.readLine();
System.out.printIn("your chars is:" + s);
}
}
错误提示:
aa.java:12: cannot resolve symbol
|
System.out.printIn("your chars is:" + s);
->System.out.println("your chars is:"+s);
->System.out.println("your chars is:"+s);
|
System.out.println("your chars is:" + s);