Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 

Java 8 Date Time Api

Date Time Api in Java 8: Java 8 introduce with new Date Time API. which is much simpler than the old date time api and reduce the overheads faces in the old api  some of the changes are describe below in new date time api. 1. LocalDate/Lo...

How to parse/format dates with LocalDateTime in Java 8?

LocalDateTime is an immutable date-time object that represents a date-time, with default format as yyyy-MM-dd-HH-mm-ss.zzz. It provides a factory method that takes LocalDate and LocalTime input arguments to create LocalDateTime instance. Lets loo...

Returning a Collection instead of Stream in Java 8?

In Java 8, the Streams is the new addition in the Java Collections API. It is the new method to process collections of objects. That is a different concept than the IO streams in the Java . Streams can be designed to work with Java lambda express...

JDBC/ODBC alternative in Java 8

The JDBC/ODBC driver is the type 1 driver it is also known as JDBC-ODBC bridge. It is ODBC driver to connect the database that convert the JDBC calls to ODBC function calls. Type 1 driver is fully platform dependent and use the native libraries o...

Difference between final and effectively final

Find the difference between final and effectively final as below: Final:- Any variable that cannot be modified once it is initialized can be final variable. You cannot modified again that variable. Ex: final int var=20; in the above e...

Interface with default methods vs Abstract class in Java 8

Interface with default methods in Java 8 In later version of Java Interfaces always contained only method declaration. We are not giving method definition in the interfaces because java did not allow multiple inheritance of classes. But in Jav...

Java 8- Method and Constructor References

Method Referencing Method reference is feature related to lambda expressions. Method references are more readable form of Lambda expressions for already written methods. :: operator is used to define method reference. It provides a way to a ...

Functional Interface - Java 8

The interface with only a single methods is known as functional interface. If an interface marked as @FunctionalInterface it can only contains one abstract method. If we try to declare more than one abstract method inside FunctionalInterface comp...

Lambda expressions - Java 8

Lambdas? A lambda is nothing but a anonymous function which accepts zero or more arguments and produces output. Lambda is basically composed with three components- argument section, an arrow and a body. (argument ...) -> { body } // ...
Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: