Brinks Home interview question

I was asked about OOPs and how I have ensured security by using OOP principles. in the first round and isPalindrome in the tech round