Pregunta de entrevista de JPMorganChase

Tell me about Java 8 features. After I mentioned in lambda expressions etc, he asked me, what is new with interfaces in Java-8.

Respuestas de entrevistas

Anónimo

1 de sept de 2017

I started saying that 'default' keyword is introduced. Now a method can be declared with keyword 'default'. He interrupted me and said there is no keyword called 'default'

2

Anónimo

23 de oct de 2017

forEach() method in Iterable interface default and static methods in Interfaces Functional Interfaces and Lambda Expressions Java Stream API for Bulk Data Operations on Collections Java Time API Collection API improvements Concurrency API improvements Java IO improvements Miscellaneous Core API improvements