In this article I’ll write about the Proxy Design Pattern. This pattern is used to control access to resources and objects. The real value of this pattern is to reduce memory costs for objects until you really need them.
In this article I will write about the Facade Design Pattern and give you some examples for its usage.
Here i will provide list of Java Date formats that are used in Java frequently. There are different ways you can achieve the same result in Java. 1- Using Predefined Format You can directly use DateFormat class to format date in predefined style. DateFormat has predefined 4 styles which can be used for quick formatting… Continue reading
In this article, I’ll give you an introduction (with Java examples) to the prototype design pattern.
In this article I’ll introduce the Adapter Design Pattern and how you can use it in Java. This pattern is mostly used to enable loosely-coupling of plugins into applications (for example the way Eclipse does this).
In this article, I’ll introduce the Composite Design Pattern. This pattern is used to represent part-whole hierarchies.
In this article I write about the Decorator Design Pattern. This is a very nice pattern if you want to extend class behavior at runtime.
JVM is an abbreviated form of Java Virtual Machine. It is a Java byte code processing engine that converts Java byte code into machine language, which is then executed by the machine (computer). Java byte code is an intermediary language between Java and the machine on which it has to be executed, and this execution… Continue reading
Here you will learn to generate random number in java between two given number by different means. I will try to provide cons for different mechanism so that you can choose what is best for you.
You must have heard about Lambda Expression introduced in Java 8. Soon we will cover detail topics on it. But now in this article i will show how to use Lambda expression to iterate Collection List. If you want to iterate over Map you can check Java 8 lambda foreach Map article.