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

Java was developed in which year?
1995 By Sir James Gosling
Mohit
0 1
8
What is the difference between Java SE, ME, EE?
Java SE is Standard Edition of Java, also known as Core Java. Anybody who wants to work with Java must learn this. And, this is used to write stand alone software with Java. . Java ME is the Micro Edition...
Sense Softech
0 0
5
What are the requirements of learning Java? How long it takes to learn java and what is the fee structure?
Core java is main to learn, if you join my classes it takes one month to become master.
Ruuchi
Which is the best programming language to learn in today's era? Java, C,C++, Python or any else?
Java is the best language because it is platform indepedent and opensource u can download java software at anywhere
Swati
0 0
5
Why we are using this keyword in Java?
to access current object
Kiran
0 0
9

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

Ask a Question

Related Lessons

Comparable vs Comparator
java.lang.Comparable java.util.Comparator For comparing some other object with its own object. Ex. I am comparing myself to some other employee. Method signature is: int compareTo (T object). For...

Java: A Quick Overview
Not purely Object Oriented: It doesn't support multiple inheritence, it supports primitive data types and static members. Doesn’t support multiple inheritance: Reason is diamond problem i.e.,...

Class, Object and Methods in JAVA
Lesson-1: Class, Object and Methods of Java can be compared with body, heart and brain. Without these 3 things, Java does not exist. If you Google the above 3 items, you will find many definitions. But...

On the Job training is always best
On the job training always provides an opportunity to learn the best industry practices. While you work on real time you would encounter many challenges that will force you to learn many new things. Class...

Why Should We Learn Java Language?
Most of starters has confusion today that which of the programming language should be chosen to work on. It totally depends upon your need. As per my opinion, if you want to grow your career in IT industry...

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