ConocoPhillips interview question

OOP concepts