EPAM Systems interview question

Java 8 features and difference between OCC1 vs OCC2