In this video, I have explained in details about JEP 359 - Records. Records is one of the exciting feature that will change how we code in our projects but this is still in preview. We are not sure of this will be extended to add new functionality or it will kept or not.
Records removes verbosity in Java code and how it does that. You just need to create Record instead of your DTOs or POJOs. In records, you just need to give components, boilerplate code is automatically handled by the compiler, i.e. Java Compiler automatically creates equals(), hashCode(), toString(), public accessor method.
I have covered other features of Java 14 also, do check my channel.-
/ @ajaywadhara
#Java #Java14, #JavaTutorials #LearnJava
На этой странице сайта вы можете посмотреть видео онлайн Java 14 New Features | #3 - Records in Java 14 | Java 14 Tutorials | Java 14 Examples длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь Ajay Wadhara 12 Апрель 2020, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 838 раз и оно понравилось 26 зрителям. Приятного просмотра!