Java10MapWithLocalVer.java package com.java9r; import java.util.HashMap; public class Java10MapWithLocalVer { public static void main(Stri...
Java 10 set with local variable Var and Different ways to iterate
Java10SetWithLocalVar.java package com.java9r; import java.util.HashSet; public class Java10SetWithLocalVar { public static void main(Stri...
Java 10 Create Object Using Var
Java10CreateObjectUsingVar.java package com.java9r; public class Java10CreateObjectUsingVar { public static void main(String[] args) { v...
Java 10 ArrayList with local variable Var and Different ways to iterate
Java10ArrayListWithLocalVar.java package com.java9r; import java.util.ArrayList; public class Java10ArrayListWithLocalVar { public static ...
Java 10 Arrays with local variable Var and Different ways to iterate
Java10ArrayWithLocalVar.java package com.java9r; public class Java10ArrayWithLocalVar { public static void main(String[] args) { String[...
Java 10 local variable type inference feature.
Java10DataTypes.java package com.java9r; import java.util.Date; public class Java10DataTypes { public static void main(String[] args) { ...
Stream api takewhile() method in Java9
StreamAPITakewhile.java package com.java9r; import java.util.stream.Stream; /** * @author Ravi * */ public class StreamAPITakewhile { /...
Diamond Operator - Java9
// before Java 7, explicit generic type declaration required List<String> myList = new ArrayList<String>(); // since Java 7, dia...
Filters method is Private methods in interface - Java9
FilterMain.java /** * */ package com.java9r; /** * @author Ravi * */ public class FilterMain { /** * @param args */ public static...
Private method in interface - Java 9
InternalPrivateMethodMain.java package com.java9r; import java.util.*; /** * @author Ravi * */ public class InternalPrivateMethodMain im...
Factory Method for immutable Map using ofEntries java 9
ImmutableMap.java package com.java9r; import java.util.*; public class ImmutableMap { public static void main(String[] args) { try { S...
Factory Method for immutable Map java 9
ImmutableMap.java package com.java9r; import java.util.*; public class ImmutableMap { public static void main(String[] args) { try { S...
Collections - Factory method for immutable Set using Bean java 9
ImmutableSet.java package com.java9r; import java.util.*; public class ImmutableSet { public static void main(String[] args) { try { ...
Collections - Factory method for immutable Set using String java 9
ImmutableSet.java package com.java9r; import java.util.*; public class ImmutableSet { public static void main(String[] args) { System....
Collections - Factory method for immutable list using Bean java 9
ImmutableList .java package com.java9r; import java.util.*; public class ImmutableList { public static void main(String[] args) { Syst...
Collections - Factory method for immutable list using String java 9
package com.java9r; import java.util.*; public class ImmutableList { public static void main(String[] args) { System.out.println("Pr...
How to install java9 on Windows 7/8/10 ( 64bit/32bit)
Java 9 Support for Eclipse IDE, Oxygen Edition Download From Here The Java 9 support includes: The ability to add JRE and JDK 9 as installe...