Pergunta de entrevista da empresa GISTEC

Can you explain the difference between abstraction and encapsulation in object-oriented programming?

Resposta da entrevista

Sigiloso

18 de out. de 2025

Abstraction focuses on hiding complex implementation details and showing only essential features, while encapsulation is about bundling data and methods together and restricting direct access to internal states using access modifiers.