Pergunta de entrevista da empresa 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.

Respostas da entrevista

Sigiloso

1 de set. 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

Sigiloso

23 de out. 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