IntraEdge interview question

Some basic concept like hoc, class vs functional component