
Java – How to construct an immutable class ?
In this article, we will discuss how to construct or create an immutable class step-by-step This is one of the favorite interview questions for fresher and Read More
In this article, we will discuss how to construct or create an immutable class step-by-step This is one of the favorite interview questions for fresher and Read More
In this article, we will discuss Singleton design pattern with example. Before delving more into topic, we will understand what is Singleton design pattern ? Q) Read More
In this article, we will discuss various ways to create Object in Java i.e.; Various ways to create Object in Java Primarily, there are only 4 Read More
In previous articles, we already discussed about Java Constructor, Initialization blocks (both static & instance) and also their execution order Read through below article to Read More
In this article, we will discuss some of the key terms used in programming languages. Often, we get confused with few terms in the programming Read More
In one of the previous articles, we have discussed how to sort list of objects on the basis of single field/attribute using Comparable and Comparator interfaces Read More
In one of the previous articles, we already discussed different ways to iterate through Map but those are with String object only i.e.; both keys and values are Read More
In previous articles, we have discussed various ways to iterate through Map and in this article we will learn different ways to iterate through Hashtable 1. Hashtable : Read More
In this article, we will discuss how to serialize list of objects and also de-serializing same Already we have seen how to serialize and de-serialize objects Read More
In this article, we will discuss how to create or construct a singleton class in a multi-threaded environment This is one of the top interview questions Read More
In this article, we will discuss how to stop serialization to happen for a serializable class Q) How to stop Serialization ? One would wonder Read More
In this article, we will discuss singleton design pattern with respect to serialization in detail Let me tell you scenario I have faced during one Read More
In this article, we will discuss importance of SerialVersionUID in Serialization and De-Serialization process Finally we will compare compiler generated SerialVersionUID v/s programmer defined SerialVersionUID and Read More
In this article, we will discuss difference between Serialization and Externalization in detail i.e.; Serializable v/s Externalizable The main difference between these serializing concepts is Read More
In this article, we will discuss externalizable interface with an example to save and restore an object in a customized way Also, we will discuss Read More
In this article, we will discuss Serialization with Inheritance i.e.; IS-A relationship with inheriting class in detail It’s an easy choice, when both super-class & Read More
In this article, we will discuss Serialization with Aggregation i.e.; serializing class contains reference to other classes. It forms a HAS-A relationship There are 2 Read More
In this article, we will discuss Order of Serialization and De-Serialization and also we will cover below programs Why it is important to know order Read More
In this article, we will discuss how can we serialize and de-serialize member variables with transient modifier or keyword In earlier articles, we have seen Read More
In this article, we will discuss what happens to final data member when transient keyword or modifier applied during serialization process This is one of Read More