Java Record
Java record is a type of class whose sole purpose is to drive programming with immutable data. Let’s look at a simple example.
Java
public record Data( int x, int y)
Tips, Expertise, Articles and Advice from the Pro's for Your Website or Blog to Succeed
Java record is a type of class whose sole purpose is to drive programming with immutable data. Let’s look at a simple example.
public record Data( int x, int y)