Records In Java - Full Tutorial

preview_player
Показать описание

Records are a new concept added to the Java language as a preview feature in Java 14, and in a full release in Java 16. In this intermediate Java programming tutorial, we will talk all about when you would want to use Java records, and exactly how to do it.

If you're confused by records in Java, you're in the right place!

🎟 Join this channel to get access to perks:

RECOMMENDED COURSES

BE MY FRIEND:

MY FAVOURITE GEAR:

RECOMMENDED BOOKS:

🎻 MUSIC:

#Record #java17 #softwaredesign #java #DailyCodeBuffer
Рекомендации по теме
Комментарии
Автор

Correction:
Final Variables does not imply that the object is immutable.
If the variable is of complex type like Address then returning the address property will allow the caller to change the property.
If all Properties in the record are themselves records, then your implication is correct.

truth-
Автор

nice to know a 'Record'. I am sure we can use in multiple scenarios. If we want to populate a select field or grid with sorting ( inside a collection)

aravindk
Автор

Which one prefer for you lombok or record

sirojiddingroup
Автор

Thanks for Sharing.
Please upload more such videos with latest features in java to increase productivity.
Also, could you please create separate playlist for daily coding in java covering all dsa and algo.

karishmarawat
Автор

what is the name of the theme you are using for your IDE (and also icon pack)?

sadeghij
Автор

Helpful. Thanks.

What is the advantages of record over Lombok library ?

I use record and I enjoy using it.

Have to use @Builder Lombok annotation to get build pattern object creation.

Is there any way to achieve this without @Builder annotation?

Some of my Colleagues saying they prefer Pojo class with Lombok.

ratikantapradhan
Автор

Can we use Spring Validation API "Annotations" like @NotNull together with Records?

asker
Автор

Nice video 👍. Can you please create a full length video on Keycloak with Open id and spring boot role based authentication with rest apis ?

subhamraoniar
Автор

what plugin you used for icons, and which fonts?

sanjmgr
Автор

thank you, I don't remember and can't use the commands in the new versions of Java very well. lol

Wariddon
Автор

It's the same as the data class from kotlin 🚀

mrwhoknows
Автор

In which java version Records are available

pillisasidharreddy
Автор

Great bro
Can you please upload a video to upload multiple file in spring boot

sujitkumar
Автор

lombok does something or is it not so?

saurabhmehra
Автор

The names and email was funny . Kutub ?

rajivjha
Автор

It's same as dataclasees in python

gshan
Автор

It’s nothing but coping from kotlin.. we already have all these in kotlin

SourinMukherjeeSM
Автор

Bro please can you check your Twitter DM

entertainmentislife
welcome to shbcf.ru