Frage im Vorstellungsgespräch bei Rules Cube

What is inheritance? What is object-oriented programming? and an example