/**
 * @(#)Example9_3.java
 *
 *
 * @author Administrator
 * @version 1.00 2007/1/24
 */
import java.io.*;
public class Example9_3 {
        
    /**
     * Creates a new instance of <code>Example9_3</code>.
     */
    public Example9_3() {
    }
    
    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) throws IOException
    {
       BufferedReader streami = new BufferedReader(
    new InputStreamReader(System.in));
   System.out.println("Please Enter a strings!");
   String s=streami.readLine();
   System.out.println ("Your's strings is :"+s);
   
   
    }
}以上是程序:
以下是结果:
--------------------Configuration: <Default>--------------------
Please Enter a strings!
a
Your's strings is :Please Enter a strings!
Process completed.红色标志应该为a 但是实际是在我的系统中却将提示内容打印出来了,怎么回事!
我的系统:xp jcreator 4.0 jdk 6.0