Java 11

String lines() – Get stream of lines – Java 11

Last Updated:

Learn to convert multi-line string into stream of lines using String.lines() method in Java 11. This method is useful when we want to read content from a file and process each string separately.

Java 11 – Files writeString() API

Last Updated:

Learn to write a string into file in Java using Files.writeString(path, string, options) method. This API has been introduced in Java 11.

Java 11 – Files readString() API

Last Updated:

Learn to read a file to string in Java using Files.readString(path) method. This API has been introduced in Java 11.

Java 11 new features and enhancements

Java 11 (released on September 2018) includes many important and useful updates. Let’s see the new features and improvements, it brings for developers and architects. …

HowToDoInJava

A blog about Java and its related technologies, the best practices, algorithms, interview questions, scripting languages, and Python.