InterviewSolution
Saved Bookmarks
| 1. |
How an object can become serializable?(a) If a class implements java.io.Serializable class(b) If a class or any superclass implements java.io.Serializable interface(c) Any object is serializable(d) No object is serializableI have been asked this question by my school principal while I was bunking the class.Enquiry is from Serialization in division Serialization & Networking of Java |
|
Answer» The correct CHOICE is (b) If a CLASS or any superclass implements java.io.SERIALIZABLE interface |
|