13 June 2025

#Serialization

#Serialization
What is Serialization in java?
What is the Marker interface?
What is serialVersionUID?
What will happen if the reference variable is not serializable?
What will happen if a class is serializable but its superclass does not?
What are the most important classes and interfaces using the Serialization?
Why do we need to use Serialization in java?
Why the Serializable interface is called the Marker interface in Java?
How can we implement Serialization in java?
How can we restrict some variables to be serialized?
How to serialize an ArrayList?
When we should use Externalizable interface in Java?
In singleton design pattern serialization becomes an issue, how you will overcome this?
Can you customize the serialization process? How can you achieve this?
Describe the De-serialization process.
Describe the benefits of serialVersionUID.
Describe the methods of serialization and deserialization process.
Do static variables participate in serialization?
Find out the difference between Serialization and Externalizable?
Suppose parent class of a new child class implement Serializable interface, how can you avoid new child class to being serialized?
  • Serializable Interface
  • Marker interface
  • Transient Keyword
  • Static Fields and Serialization
  • serialVersionUID
  • Custom Serialization using writeObject() and readObject()
  • Serialization and Inheritance
  • Deserialization Process
  • NotSerializableException
  • Deep vs Shallow Serialization
  • Serialization in Java Collections
  • Serialization Alternatives (e.g., Externalizable, JSON, XML)

No comments:

Post a Comment

Most views on this month

Popular Posts