Java 15 came with some new Java features such as Pattern matching, Java sealed classes and Text Blocks.
Sealed classes and interfaces restrict which other classes or interfaces may extend or implement them.
A sealed class or interface can be extended or implemented only by those classes and interfaces permitted to do so.
TimeStamp:
00:00 Intro
01:00 Text Blocks
01:34 Pattern Matching
02:58 Issue with data carrier classes
04:44 Records
05:25 Java Sealed Classes
Read more on the latest JDK 15 features:
https://openjdk.java.net/jeps/360
https://www.jrebel.com/blog/using-tex...
https://www.infoq.com/articles/java-s...
If you enjoyed this video, consider 🔴subscribing to be a part of the Lemubit Academy Network: https://bit.ly/2O2x0H1
Courses 📚 📚 📚 📚 📚 📚 📚 📚 📚 📚 :
📚 Java Generics, Collection Framework And Streams
https://www.udemy.com/course/java-gen...
📚 Modern Java Programming Course:
https://www.udemy.com/course/modern-j...
📚 Java Lambda Expressions And Functional Interfaces:
https://www.udemy.com/course/java-lam...
Connect With Lemubit Academy And Lemuel Ogbunude 🔍:
🌐Website: https://www.lemubitacademy.com/
🏢Linkedin: / lemuelcco
📸Instagram: / lemubitacademy