JAVA BASICS : What is the difference between java classes and java records. When to use which?

Опубликовано: 13 Октябрь 2024
на канале: Refactored Codes
36
1

In this video, I am using an example of Person class, to show how the code can be reduced and how errors can be reduced.
I have also shown that, in a record, we can add new functions just like a normal class.
And, the code in this video also shows that, how we can modify class to act like a record.

MyWebsite : refactoredcodes.com
Source Code :
https://github.com/anuraganand789/Jav...
twitch :   / anuraganand789  

#java #class #record #javaclass #javarecord