Hi, i am using a bufferedReader to realines from a file but i have to put a while loop in, so it loops round and reads all 10 lines.
But how do i make the while loop work as i have tried everything i can think of,
String str;
str = bufReader.readLine()
while(str == null) -- but i want it to say not null but !== null, doesnt work
{
System.out.println(str)
str.bufReader.readLine();
}
Any ideas anyone??
LeeBee
