What is the Externalizable interface?

July 30th, 2009 by uCertify Leave a reply »

The Externalizable interface allows a programmer to have a complete control over the serialization and deserialization processes.

The Externalizable interface has the following two methods:

  • public void writeExternal(ObjectOutput objout): This method is used to save the contents of an object by calling the methods of the DataOutput interface for its primitive values or calling the writeObject method of ObjectOutput for objects, strings, arrays, etc.
  • public void readExternal(ObjectInput objin): This method is used to restore the contents of an object that was saved using the writeExternal() method. It calls the methods of the DataInput interface for primitive types and the readObject() method for objects, strings, arrays, etc.
  • Click here to download master-ciw-enterprise-developer test study guide and practice question.
  • Click here to download scbcd test study guide and practice question.
  • Pass SCDJWS in first attampt.
  • Pass SCJP in first attampt.
  • Download free practice test for SUN SCJP 5/6 exam.
  • Click here to download scmad test study guide and practice question.
  • Click here to download scwcd test study guide and practice question.
  • Download free practice test for CX310-055 Java 5.0 exam.
  • Best exam simulation SUN CX310-056 download free trial.
  • Click here to download CX310-065 test study guide and practice question.
  • Click here to get free CX310-066 SCJP Upgrade exam practice questions.
  • Share/Bookmark
Advertisement

Leave a Reply

uCertify.com | Our Company | Articles | Contact Us | News and Press Release | uCertify India | Entries (RSS)
MCSE: MCSA, MCTS, MCITP    JAVA Certification: SCJP, SCWCD    Cisco Certification: CCNA, CCENT    A+, Network+, Security+ Project+
Oracle Certification: OCP 11g, OCP 10g, OCA 11g, OCA 10g    CIW foundation    EC-212-32,    CISSP    Photoshop ACE CS4    Adobe Flash ACE, PMP, CAPM
© 2008 uCertify.com. All rights reserved. All trademarks are the property of their respective owners.