AMY interview question

Basically OOPs concepts, Some Basics Programs