Java 12 Tutorial
This topic is about Java 12 Tutorial. Java 12 introduced lot of new language specific features to Java. This is an introductory tutorial that explains the basic-to-advanced features of Java…
This topic is about Java 12 Tutorial. Java 12 introduced lot of new language specific features to Java. This is an introductory tutorial that explains the basic-to-advanced features of Java…
This topic is about Java 11 - Removed/Deprecated APIs. Java 11 has removed selected deprecated APIs. Following is the list of removed APIs. Java EE and CORBA Following deprecated Java…
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…