Nikon interview question

Design pattern e solid principles