我是新手 想請問一下
a001哈囉 那一題
我是用java的eclipse
[ code ]
package hello;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class ex1 {
public static void main(String[] args) throws IOException {
// TODO Auto-generated method stub
BufferedReader in = new BufferedReader (new InputStreamReader(System.in));
String a= in.readLine();
String b= in.readLine();
String c= in.readLine();
System.out.println("hello, "+ a);
System.out.println("hello, "+ b);
System.out.println("hello, "+ c);
}
}
[/ code]
這樣為什麼不行呢? 要怎麼改才行呢?