What is serialization, and how is it implemented in Java?

Asked by Last Modified  

1 Answer

Learn Java

Follow 1
Answer

Please enter your answer

Experienced Full Stack Developer and Instructor.

Serialization in Java refers to the process of converting an object's state (i.e., its data) into a byte stream, which can be easily persisted into a file, sent over a network, or stored in a database. This byte stream can later be deserialized, meaning it can be used to recreate the original object...
read more
Serialization in Java refers to the process of converting an object's state (i.e., its data) into a byte stream, which can be easily persisted into a file, sent over a network, or stored in a database. This byte stream can later be deserialized, meaning it can be used to recreate the original object with the same state as the original object. In Java, serialization is achieved by implementing the Serializable interface. This interface doesn't have any methods; it simply acts as a marker, indicating that the objects of the class implementing it can be serialized. read less
Comments

Related Questions

What are the various Java certifications?
The certifications are : 1) Oracle...
Profile Photo
Rama
1 0
View Comments5
How to stop session hijacking programmatically ?
HTTP is a stateless protocol. In order to track users, web applications rely on server side sessions. Two basic ways to link clients(usually browsers) to sessions are through URL rewriting and HTTP cookie....
Profile Photo
Mnaohar S
What are the best websites to learn java as well as get a certificate from them?
Blindly go for oracle certification java program .
Profile Photo
Abirami
0 0
View Comments7
How does Java implement polymorphism?
Java implements polymorphism in two ways: 1. Static or compile-time polymorphism is done by method overloading (more then one methods sharing the same name but different number/types/order of parameters) 2....
Profile Photo
Sajjan
0 0
View Comments6

Now ask question in any of the 1000+ Categories, and get Answers from Tutors and Trainers on UrbanPro.com

Ask a Question

Related Lessons

Be prepared to get trained--init
Before starting the training,students must be mentally prepared for acceptance of new knowledge. Students must attend training with open minded forgetting the position they are working.This will help...
S

Smartnub Softsolutions

0 0
View Comments0

Create Immutable Class
Snippet of an Immutable Class: package com.stringhr; /*Declare the class as 'final'. This would prevent any other class from extending it and hence from overriding any method from it which could modify...
Profile Photo

Java inheritance example
Answer these questions Answer the above question
Profile Photo

How 4 byte float can store 8 byte long values in java ?
long l = 12464545L; float f = l; (fine) int i = l ; (Error) if we see the how this magic happens as we know the answer lies in the floating point representation as in floating points values does not...
Profile Photo

How can everyone prepare to clear any Java interview?
Java interview your java should be much strong then J2EE. core java and Advance java is the basic foundation for Interview. Some of the topic about which you should know before going for a java interview...
Profile Photo

Recommended Articles

Java is the most famous programming language till date. 20 years is a big time for any programming language to survive and gain strength. Java has been proved to be one of the most reliable programming languages for networked computers. source:techcentral.com Java was developed to pertain over the Internet. Over...

Read full article >

Java is the most commonly used popular programming language for the creation of web applications and platform today. Integrated Cloud Applications and Platform Services Oracle says, “Java developers worldwide has over 9 million and runs approximately 3 billion mobile phones”.  Right from its first implication as java 1.0...

Read full article >

Designed in a flexible and user-friendly demeanor, Java is the most commonly used programming language for the creation of web applications and platform. It allows developers to “write once, run anywhere” (WORA). It is general-purpose, a high-level programming language developed by Sun Microsystem. Initially known as an...

Read full article >

In the domain of Information Technology, there is always a lot to learn and implement. However, some technologies have a relatively higher demand than the rest of the others. So here are some popular IT courses for the present and upcoming future: Cloud Computing Cloud Computing is a computing technique which is used...

Read full article >

Looking for Java Training Classes?

Learn from the Best Tutors on UrbanPro

Are you a Tutor or Training Institute?

Join UrbanPro Today to find students near you