InfoBeans interview question

All oops concepts