Llevar datos sin comportamiento: identificación de usuario, etiqueta, marca de tiempo. La clase de datos de Kotlin y el registro de Java (y el antiguo POJO + IDE/Lombok) resuelven el mismo tedio: iguales, hashCode, toString, descriptores de acceso. Esta lección los alinea para que sepa qué versión de Java desbloquea qué acceso directo.
Kotlin: clase de datos
Full content is available with a subscription.
Get full access to all courses on the platform for one year with a single payment.
▼
Unlike other platforms that charge per course, here you get everything for one price, and after one year of use there will be no automatic charge for the following year.