Java 11 – Nested Based Access
This topic is about Java 11 - Nested Based Access. Java 11 introduced a concept of nested class where we can declare a class within a class. This nesting of…
This topic is about Java 11 - Nested Based Access. Java 11 introduced a concept of nested class where we can declare a class within a class. This nesting of…
This topic is about Java 11 - Var in Lambda. Java 11 allows to use var in a lambda expression and it can be used to apply modifiers to local…
This topic is about Java 11 - Not Predicate. Java 11 introduced new method to Predicate interface as not() to negate an existing predicate similar to negate method. Consider the…
This topic is about Java 11 - Optional Class. Java 11 introduced new method to Optional class as isEmpty() to check if value is present. isEmpty() returns false if value…
This topic is about Java 11 - File APIs. Java 11 introduced an easy way to read and write files by providing new overloaded methods without writing much boiler plate…
This topic is about Java 11 - Compile free Launch. Java 11 onwards, now a single java file can be tested easily without compiling as well. Consider the following example…
This topic is about Java 11 - Collections to Array. Java 11 introduced an easy way to convert a collection to an array. Old Way nameArray = nameList.toArray(new String[nameList.size()]); New…
This topic is about Java 11 - String API. Java 11 introduced multiple enhancements to String. String.repeat(int) − Repeats a string given number of times. Returns the concatenated string.String.isBlank() − Checks if…
This topic is about Java 11 - Standard HttpClient. An enhanced HttpClient API was introduced in Java 9 as an experimental feature. With Java 11, now HttpClient is a standard.…
This topic is about Java 11 - Environment Setup. Live Demo Option Online We have set up the Java Programming environment online, so that you can compile and execute all…