Home
Recent Q&A
Java
Cloud
JavaScript
Python
SQL
PHP
HTML
C++
Data Science
DBMS
Devops
Hadoop
Machine Learning
Azure
Blockchain
Devops
Ask a Question
How can you make a class serializable in Java?
Home
JAVA
How can you make a class serializable in Java?
+2
votes
asked
May 6, 2021
in
JAVA
by
SakshiSharma
How can you make a class serializable in Java?
#serialization
java
Java-questions-answers
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
May 6, 2021
by
SakshiSharma
A class can become serializable by implementing the Serializable interface.
Related questions
+1
vote
Q: How can you avoid serialization in child class if the base class is implementing the Serializable interface?
asked
May 6, 2021
in
JAVA
by
SakshiSharma
#serialization
child-class
Java-questions-answers
+2
votes
Q: Can you write a Java class that could be used both as an applet as well as an application?
asked
May 12, 2021
in
JAVA
by
rajeshsharma
java-class
java-application
java
Java-questions-answers
+2
votes
Q: How can we create an immutable class in Java?
asked
May 4, 2021
in
JAVA
by
SakshiSharma
#immutable-class
java
Java-questions-answers
0
votes
Q: How can we access some class in another class in Java?
asked
May 2, 2021
in
JAVA
by
sharadyadav1986
#access-class
class
java
Java-questions-answers
+1
vote
Q: What is the difference between Serializable and Externalizable interface?
asked
May 7, 2021
in
JAVA
by
sharadyadav1986
#serializable
externalizable
java
Java-questions-answers
0
votes
Q: Which of the following is a mutable class in java?
asked
Apr 9, 2021
in
JAVA
by
Robindeniel
java
java-questions-and-answers
java-mcq
core-java-mcq
java-multiple-choice-questions
java-questions-2021
java-interview-questions
java-advanced-questions
Java-questions-answers
0
votes
Q: What is the purpose of using java.lang.Class class?
asked
May 7, 2021
in
JAVA
by
sharadyadav1986
java
class
Java-questions-answers
0
votes
Q: What are the types of inner classes (non-static nested class) used in Java?
asked
May 5, 2021
in
JAVA
by
SakshiSharma
#inner-class
java
Java-questions-answers
0
votes
Q: What are the important methods of Java Exception Class in Java?
asked
Feb 9, 2021
in
JAVA
by
SakshiSharma
#java-exception-class
exception-class-java
java
Java-questions-answers
+1
vote
Q: In Java, How many ways you can take input from the console?
asked
May 6, 2021
in
JAVA
by
SakshiSharma
#input-console
java
Java-questions-answers
...