Pregunta de entrevista de Publicis Sapient

What is Encapsulation and explain with an example.

Respuesta de la entrevista

Anónimo

6 abr 2023

Encapsulation in Java is the process by which data (variables) and the code that acts upon them (methods) are integrated as a single unit.