A friendly place for programming greenhorns!
Big Moose Saloon
Search
|
Java FAQ
|
Recent Topics
Register / Login
JavaRanch
»
Java Forums
»
Java
»
Beginning Java
Author
regarding serialization
Raj Kumar Bindal
Ranch Hand
Joined: Apr 15, 2006
Posts: 409
posted
Mar 05, 2007 05:58:00
0
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
Joined: Feb 24, 2006
Posts: 6592
1
I like...
posted
Mar 05, 2007 06:06:00
0
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
SCJP 6 articles
-
SCJP 5/6 mock exams
-
SCJP Mocks
-
SCJP 5 Mock exam (Word document )
-
SCJP 5 Mock exam in Java.Inquisition format
I agree. Here's the link:
http://zeroturnaround.com/jrebel
- it saves me about five hours per week
subject: regarding serialization
Similar Threads
is always API correct?
some doubts
Checked Expceptions
Question on NotSerializableException
serialization
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter