1.

Which among the following is a serialization descriptor for any class?(a) StreamClass(b) ObjectStreamClass(c) ObjectStream(d) StreamObjectClassI had been asked this question in examination.The above asked question is from IO Class topic in chapter Inbuilt Classes of Object Oriented Programming

Answer»

Right choice is (b) OBJECTSTREAMCLASS

To explain: The ObjectStreamClass object can be created to handle serializations. The class is provided specially for the serializations. It is descriptor LIKE we have a file descriptor to handle/access FILES.



Discussion

No Comment Found

Related InterviewSolutions