NTT DATA interview question

basic oops concepts in .net