Something what is deprecated doesn't exist anymore in new releases of API-packages, although it has been part of the API-package. In this case, DataInputStream's readLine()-method is deprecated since JDK 1.1.