Java Serialization
In this tutorial, we will learn more and in detail on Java Serialization and Deserialization. Java serialization is very import topic and every developer should know this topic. Serialization: Java…
In this tutorial, we will learn more and in detail on Java Serialization and Deserialization. Java serialization is very import topic and every developer should know this topic. Serialization: Java…
In this post, we will see more details on SerialVersionUID and also issues with default serial version id. SerialVersionUID: Java uses serialVersionUID field for versionsing. It’s a static and final…
Serializable Externalizable Uses Java’s default serialization mechanism, which automatically serializes the object’s non-transient and non-static fields. Gives the programmer control over the serialization process by providing the readExternal and writeExternal…
The Serialization Proxy pattern is a technique in Java for providing a more robust and flexible serialization mechanism for a class. It involves creating a separate, serializable class that acts…
Serialization in Java is not inherently thread-safe. When serializing an object, it is important to ensure that the object is not being modified by another thread while it is being…
What is serialization in java? Serialization is the process of converting an object in to bytes, so that it can be transmitted over thenetwork,or stored in a flat file and…
In this post, we will see Serialization advanced interview questions. In this you might see some tricky questions as well 1. What is the difference between the Serializable and Externalizable…
Functional Interface is Single Abstract Method(SAM), so it used to target for a lambda expression or method reference. A functional interface in Java is an interface that has exactly one…
In this post, we will see java is pass by value or reference. In Java, method arguments are passed by value. This means that when you pass an argument to…
In Java 8, streams use a technique called “lazy evaluation” to process data. Lazy evaluation means that a stream operation is not executed until it is absolutely necessary. This can…