1.

How many methods Serializable has?(a) 1(b) 2(c) 3(d) 0This question was posed to me in an interview for internship.My question is based upon Serialization in section Serialization & Networking of Java

Answer»

Correct OPTION is (d) 0

For EXPLANATION I would say: Serializable interface does not have any method. It is also called a MARKER interface.



Discussion

No Comment Found

Related InterviewSolutions