Pergunta de entrevista da empresa Trendyol

What is a data class?

Resposta da entrevista

Sigiloso

29 de set. de 2025

A data class is especially designed for holding the data and it has some useful features like copy function, componentN function also it fills hashcode and toString methods for you, so you don't need to override them.