D
Darren
What should I put in the fllowing program?
"" or null
public static void main(String args[]) throws IOException{
BufferedReader stdin = new BufferedReader(
new InputStreamReader(System.in));
String line = stdin.readLine();
while(!(line.equals(""))){
System.out.println(line);
line = stdin.readLine();
}
}
Thanks in advance!
"" or null
public static void main(String args[]) throws IOException{
BufferedReader stdin = new BufferedReader(
new InputStreamReader(System.in));
String line = stdin.readLine();
while(!(line.equals(""))){
System.out.println(line);
line = stdin.readLine();
}
}
Thanks in advance!