Month: February 2016

Lambda expressions in Java

How to use lambda expressions in Java 8? One of the biggest features introduced in Java 8 is the lambda expressions. Lambda expression facilitates functional [...]

Anagram program in java

Write a java program to find if two Strings are anagram.This is one of the most popular interview questions asked in companies like Paypal. What is an [...]

Shallow copy vs Deep copy in Java

Copying is the duplication of data/information from source object to a destination object. This is done to avoid the time spent in creating the data once [...]