Recent Posts

Java Overriding vs Overloading

less than 1 minute read

Method overloading, is when method with same name co-exists in same class but they must have different method signature. Method overloading is done via ...

Java String StringBuffer StringBuilder

less than 1 minute read

String is immutable StringBuffer and StringBuilder is mutable StringBuffer is synchronized thread safe. StringBuilder is not thread safe but operation is fa...

Basic Maven Commands

less than 1 minute read

maven commands to run program mvn exec:java -Dexec.mainClass="com.example.Main" maven commands to run program with args mvn exec:java -Dexec.mainClass="c...

Key changes in Java 8

1 minute read

Here are some new features inside Java 8 Lambda expressions - provides the ability to pass code as data to methods ... public static void main(String[] a...