Core Java
-

Serialization in java
Java provides mechanism called serialization to persists java objects in a form of ordered or sequence of bytes that includes…
Read More » -

The Big Java News Keeps Coming: Java SE 6 and OpenJDK
I recently posted Recent Java 8 News, summarizing some of the recent developments in Java 8. In less than a…
Read More » -

Template method design pattern in Java
Template method pattern is a behavioral design pattern which provide base method for algorithm,called template method which defers some of…
Read More » -

Facebook Hacker Cup : Studious Student Problem Solution in Java
This program is a solution to Studious Student problem from Facebook Hacker Cup. The problem can be found here: link.…
Read More » -

Hunting down memory leaks: a case study
A week ago I was asked to fix a problematic webapp suffering from memory leaks. How hard can it be,…
Read More » -

Recent Java 8 News
Java 8 developments are starting to dominate the news again. Recent posts cover extending Milestone 7 of JDK 8 to…
Read More » -

My Custom Thread Pool Executor in Java
ThreadPoolExecutor is a feature added by java concurrent api to maintain and reuse threads efficiently , so that our programs…
Read More » -

Difference between Comparator and Comparable in Java
One of the common interview question is ‘What are differences between Comparator and Comparable’. or ‘How will you sort collection…
Read More » -

Observer design pattern in Java
As the name suggests it is used for observing some objects.Observer watch for any change in state or property of…
Read More »
