WellDev interview question

How api works and oop