Featured
-
How to split a String
Below I have written a code to split a string.
by shahbaz.ahmmod -
Send Push Notification with Custom Data to iPhone device from Java Server Side
This blog will help you to send Push Notifications
by babita.dhami -
Tomcat and Eclipse Integration Error : “Unknown version of Tomcat was specified”
If you are adding Server in Eclipse for Tomcat, an
by chandan.ahluwalia -
Spring MVC and MongoDB
Repository Class Using MongoDB : Spring has th
by sumit.vyas -
How to create DLL file from java?
Hello Guy's This Blog will guide how to create D
by bhagwan.khichar
Tags
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 } // ...