record. 从Java 14开始,引入了新的 Record 类。我们定义 Record 类时,使用关键字 record 。 ... public final class Point extends Record { private final int x; ...
確定! 回上一頁