forked from svozniuk/java-interviews
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathJava Interfaces.txt
More file actions
18 lines (16 loc) · 1.01 KB
/
Java Interfaces.txt
File metadata and controls
18 lines (16 loc) · 1.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
------------------------------------------------------------------------------------------
Serializable, Externalizable
------------------------------------------------------------------------------------------
1. What is serialization?
2. How do I serialize an object to a file?
3. Which methods of Serializable interface should I implement?
4. How can I customize the seralization process? i.e. how can one have a control over the serialization process?
5. What is the common usage of serialization?
6. What is Externalizable interface?
7. When you serialize an object, what happens to the object references included in the object?
8. What one should take care of while serializing the object?
9. What happens to the static fields of a class during serialization?
10. Does Java provide any construct to find out the size of an object?
------------------------------------------------------------------------------------------
Cloneable
------------------------------------------------------------------------------------------