Re: How to address the deprecated method readLine()

2008-09-15 Thread walden
That's a warning, not a compile error. You could ignore it. Note that this is not the "getting started with Java" forum, and you should try to avoid using it for that in the future. There must be plenty of good alternatives out there. On Sep 14, 5:04 am, Vasu <[EMAIL PROTECTED]> wrote: > Hi !

How to address the deprecated method readLine()

2008-09-14 Thread Vasu
Hi ! I'm a newbie in Java programming. I created a java file and tried to compile and got following message : ICanReadApp.java:12: warning: [deprecation] readLine() in java.io.DataInputStrea m has been deprecated name=keyboardInput.readLine(); Can anybody help solve how to read a keyboard inp