What is the difference between serialization and
deserialization?
Answers were Sorted based on User's Feedback
Answer / arpitsen
Serialization and Deserialization are complementing to each
other.
Whenever the state of an Object is saved to some file, the
process is known as Serialization.
Deserialization is the process of creating the object back
from the serialized file.
Is This Answer Correct ? | 25 Yes | 1 No |
Answer / ravikiran(aptech mumbai)
serialization is the process of saving the object state into
output stream.
Deserialization is the process of getting the object state
from output stream.
Is This Answer Correct ? | 9 Yes | 8 No |
Answer / java pro
serialization is a serial and ization which together means
that no serial without ization.
Is This Answer Correct ? | 1 Yes | 5 No |
In how many ways we can do synchronization in java?
interface X{ void m1(); void m2(); } class Child2 extends Object implements X { public void m1(){ System.out.println("Child2 M1"); } public void m2(){ System.out.println("Child2 M2"); } } public class ParentChildInfterfaceDemo { public static void main(String[] args){ X x = new Child2(); X x1 = new Child2(); x.m1(); x.m2(); x.equals(x1); } } Will the above code work? If yes? Can you please explain why the code x.equals(x1) will work as the equals method is called on interface reference vaiable?
Difference between static and dynamic class loading.
What is udp in java?
Is it necessary for the port addresses to be unique? Explain with reason.
What is use of super keyword?
when should you use stringbuilder class in a program?
What are three types of loops in java?
What are the differences between abstract class and interface?
Is empty string in java?
What is the longest unicode character?
What is the use of java?