Digital Software interview question

explain Java oops concepts with real time examples about project puzzels