Softway interview question

1. oops concept.