Nintex interview question

what is inheritance? Solid principles API creation