Java 8 Tutorial: Functional Interface

Java 8 Tutorial: Functional Interface Trong Java, xuất hiện một khái niệm mới là SAM (Single Abstract Method) hay còn gọi là Functional Interface. Functional Interface thực chất là 1 Interface với duy nhất 1 abstract method (method không có phần body). Có thể các bạn sẽ tự hỏi Interface thì làm gì có các … Continue reading Java 8 Tutorial: Functional Interface

Java 8 explained: Default Methods

In a previous post, we looked into lambdas in Java 8 which proved to be a very popular topic. Now we continue our peek into new Java 8 features by continuing with default methods. Those are closely related to lambdas, which could be the main theme of Java 8. In this article, we’ll take a look at what default methods … Continue reading Java 8 explained: Default Methods