Rapid7 interview question

Talk about encapsulation in OOP