Created
August 24, 2021 18:02
-
-
Save benhlal/2d3254339d218253a9db0506ca0303d1 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Your DTO | |
| record Person (String firstName, String lastName, int age){} | |
| //Usage in a TestClass (psvm) | |
| var p = new Person('youness','ben',99); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment