Caterpillar interview question

They asked about OOPs concepts