What does it mean?
import java.io.*;
class Block{
public static void main(String[] args) throws Exception{
BufferedReader userInput=new BufferedReader (new InputStreamReader(System.in));
String username;
boolean condition = true;
if (username=="lene") {
username=userInput.readLine();
System.out.println("Condition is true.");
} // end block one
else { // begin block 2
System.out.println("Condition is false.");
} // end block 2
}
}
2007-11-07
21:58:53
·
3 answers
·
asked by
Junkie
1
in
Computers & Internet
➔ Programming & Design