Java 17 new features compared to Java 11 Switch using lambda expression InstanceOf local variable Record Sealed Interface and Class String Text Block Edwards-Curve Digital Signature Algorithm NPE error with detailed message Constant Api but No idea how to use