Two Laptop Bag
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes readline Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Elasticsearch in Action this week in the Big Data forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "readline" Watch "readline" New topic


Ranch Hand

Joined: Aug 03, 2000
Posts: 169
Does DataInputStream have readLine() method?? I think it is
depricated and now available only in BufferedReader.
Am i right??
- Thanks

Joined: Aug 30, 2000
Posts: 20
You are right!! I tried it on Sun JDK 1.2 and it didn't work.
It is sorta covered in the JavaRanch Style Guide.
subject: readline