Currently, the java.io.IO provides println(Object) and print(Object) methods, but not a parameter-less println(). This is not very convenient, as when there's a sequence of print(...) calls, it typically needs to be finished with a new line, which requires code along the lines of:
println("")
It would be more convenient to add a parameter-less println() method.
println("")
It would be more convenient to add a parameter-less println() method.
- csr for
-
JDK-8342937 Enhance java.io.IO with parameter-less println() and readln()
- Closed
- duplicates
-
JDK-8342559 Add a no-arg IO.println() overload, making code easier to migrate from System.out
- Closed
- links to
-
Commit(master) openjdk/jdk/c3776db4
-
Review(master) openjdk/jdk/21693