Monday, 31 July 2017

Functional Interfaces in Java

Functional Interfaces in Java

Functional Interfaces in Java
Java 8 introduced lambda expressions, which allowed us to write short and simple code using default interface methods, lambda expressions, method reference and repeatable annotations.  As we know java is a strongly typed language and it is mandatory to declare types but designers of lambda
Read More about it from the following link : http://coding-guru.com/functional-interfaces-in-java/ posted by Gul


Tuesday, 18 July 2017

Interfaces in Java

Interfaces in Java

Interfaces in Java
//

Interfaces in java are same like an abstract class, it does not attribute definition and all of its methods are abstract. An interface don't have constructors and can't be instantiated.  From Java 8 onward non abstract methods can be included in the interface by using default keyword. These
Read More about it from the following link : http://coding-guru.com/interfaces-java/ posted by Gul


Saturday, 15 July 2017

Map Interface in Java

Map Interface in Java

Map Interface in Java
Before proceeding with this article, If you are a new reader and you are not much familiar about collections. Read this article for more information ( Collections in java). Following are the key points to remember about Map and HashMap in java.

Maps keys to values and can't contain duplicate
Read More about it from the following link : http://coding-guru.com/map-interface-in-java/ posted by Gul


Friday, 14 July 2017

Collections in Java

Collections in Java

Collections in Java


Arrays are used in java to store several objects. The issue with array is that it does not support dynamic allocation. It has a fixed length which is not changeable once it is declared. Moreover, array is a very simple linear structure and many applications require more flexible and complex
Read More about it from the following link : http://coding-guru.com/collections-in-java/ posted by Gul