Pergunta de entrevista da empresa Globant

All core java related questions. Working of jvm, jre, jdk. What is composition, aggregation, association. Questions on collection, multithreading, data structures (implement stack, queue), what happens when program runs in infinite loop, code for balancing brackets. What all design patterns you used in your project. Abstract and interface. What is diamond problem. How it is prevented in java8 while implementing multiple interface with default method implementation in both the interfaces. Why java8 has given this feature in interface and not in class or abstract class.