Singleton Pattern

Singleton Design Pattern is one of the simplest design pattern in Java. If any one asks me which design pattern you are good at, then I would say Singleton. But when they ask in depth concept of singleton then I get stumped. Singleton design pattern is really that much difficult ? Really not 🙂 , […]

Share this article on

Functional Interface

If any interface which has one and only one Abstract Method is called Functional Interface. Built in functional Interfaces are 1) Comparator Interface which has only one abstract method Example : compare(T arg1,T arg2) , Where T is the generic datatype. 2) Runnable Interface which has single abstract method Example : run() , like this […]

Share this article on
< Previous Next >