KodNest interview question

Basic programming questions based on oops.