Java · Medium · ProWhat is a compact constructor in a Java Record? When would you use it?JavaJava 17+