This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes DeSerialization Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Reply Bookmark "DeSerialization" Watch "DeSerialization" New topic
Author

DeSerialization

Harikrishna Gorrepati
Ranch Hand

Joined: Sep 23, 2010
Posts: 422
Hi, This is from Whizlabs. Which line of the commented lines at Line#16 or 17 allow Question11_Ask objects to be correctly serialized and de-serialized


OCPJP 6.0-81% | Preparing for OCWCD
http://www.certpal.com/blogs/cert-articles | http://sites.google.com/site/mostlyjava/scwcd |
Ankit Garg
Saloon Keeper

Joined: Aug 03, 2008
Posts: 9189
    
    2

Serialization is not on the SCJP objectives anymore...


SCJP 6 | SCWCD 5 | Javaranch SCJP FAQ | SCWCD Links
Trivikram Kamat
Ranch Hand

Joined: Sep 26, 2010
Posts: 155
public void defaultWriteObject() throws IOException
Write the non-static and non-transient fields of the current class to this stream. This may only be called from the writeObject method of the class being serialized. It will throw the NotActiveException if it is called otherwise.


From Java API of defaultWriteObject method in ObjectOutputStream


OCPJP6
bhanu chowdary
Ranch Hand

Joined: Mar 09, 2010
Posts: 256
Ankit Garg wrote:Serialization is not on the SCJP objectives anymore...


+1. Even I did not encounter any question related to serialization.
Saibabaa Pragada
Ranch Hand

Joined: Oct 24, 2010
Posts: 162
Ankit Garg wrote:Serialization is not on the SCJP objectives anymore...
You never know..Sun may change the topics at any time. Also, Objectives may differ from one center to another center. Drag and Drop questions issue(s) are reproducable in some centers only. Some folks may be interested to take SCJP 5.0 exam. So, in any case, suggestions to these kind of questions would be really helpful.
Ankit Garg
Saloon Keeper

Joined: Aug 03, 2008
Posts: 9189
    
    2

Sun may change the topics at any time. Also, Objectives may differ from one center to another center.

Objectives are not changed very frequently. Exam objectives are only changed after a lot of considerations. It is true that some of the prometric centers don't update very fast, but serialization was removed from the objectives more than a year ago and its very very unlikely that anyone will face Serialization questions on the exam...
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: DeSerialization
 
Similar Threads
Graphics2D g2 = (Graphics2D)g;
Why am I getting this error?
abstract class and protected member behaviour
Object serialisation
Serialization/De-Serialization