-
Core Java
Java Serialization Magic Methods And Their Uses With Example
In a previous article Everything You Need to Know About Java Serialization, we discussed how serializability of a class is…
Read More » -
Core Java
How To Deep Clone An Object Using Java In Memory Serialization
In my previous articles, I had explained the difference between deep and shallow cloning and how copy-constructors and defensive copy…
Read More » -
Core Java
How to Customize Serialization In Java By Using Externalizable Interface
In a previous article Everything About Java Serialization Explained With Example, I explained how we can serialize/deserialize one object usingSerializable…
Read More » -
Core Java
What is Serialization? Everything You Need to Know About Java Serialization Explained With Example
In a previous article, we looked at 5 different ways to create objects in java, I have explained how deserialising…
Read More » -
Core Java
How to Install Multiple Versions of Java on the Same Machine
Some time back I have written one articleJava Lambda Expression Explained with Example but it was easy for me to…
Read More » -
Software Development
Useful Git Commands
Git is a most widely used and powerful version control system for tracking changes in computer files and coordinating work…
Read More » -
Core Java
Java Integer Cache – Why Integer.valueOf(127) == Integer.valueOf(127) Is True
In an interview, one of my friends was asked that if we have two Integer objects, Integer a = 127; Integer…
Read More » -
Core Java
Why Instance Variable Of Super Class Is Not Overridden In Sub Class
When we create a variable in both parent and child class with the same name, and try to access it…
Read More »