Inscripts interview question

Questions on oops concept, logical questions