Infosys interview question

Design patteren singleton design pattern java 1.8 features