Red Hat interview question

Explain encapsulation.

Interview Answer

Anonymous

Jun 28, 2018

Also known as information hiding. Encapsulation ensures that data is validate before being set, and can also be used to format data before being sent to another component