Write code using Object Oriented concept