Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

regarding serialization  RSS feed

 
Raj Kumar Bindal
Ranch Hand
Posts: 418
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
please tell me answer of following:
1. What is the most complete set of exceptions that can be thrown when reading a serialized object?
A. IOException
B. ClassNotFoundException, SerialziableException
C. SerialziableException
D. ClassNotFoundException, InvalidClassException, StreamCorruptedException, OptionalDataException, and IOException
E. IOException, SerializableException



2.What is the most complete set of exceptions that can be thrown when serializing an object?
A. IOException
B. ClassNotFoundException, NotSerializableException
C. NotSerializableException
D. ClassNotFoundException, InvalidClassException, NotSerializableException, OptionalDataException, and IOException
E. InvalidClassException, IOException, NotSerializableException
 
Deepak Bala
Bartender
Posts: 6663
5
Firefox Browser Linux MyEclipse IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Where did you find this question ? Looking up on the java docs for these exceptions should give you a good idea about why and when they are thrown
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!