• Home
  • Java
  • 2D Graphics GUI
  • 3D
  • Advanced Graphics
  • Ant
  • Apache Common
  • Chart
  • Class
  • Collections Data Structure
  • Data Type
  • Database SQL JDBC
  • Design Pattern
  • Development Class
  • EJB3
  • Email
  • Event
  • File Input Output
  • Game
  • Generics
  • GWT
  • Hibernate
  • I18N
  • J2EE
  • J2ME
  • JavaFX
  • JDK 6
  • JDK 7
  • JNDI LDAP
  • JPA
  • JSP
  • JSTL
  • Language Basics
  • Network Protocol
  • PDF RTF
  • Reflection
  • Regular Expressions
  • Scripting
  • Security
  • Servlets
  • Spring
  • Swing Components
  • Swing JFC
  • SWT JFace Eclipse
  • Threads
  • Tiny Application
  • Velocity
  • Web Services SOA
  • XML

ObjectOutputStream « File Input Output « Java






  1. Java
  2. File Input Output
  3. ObjectOutputStream
1.new ObjectOutputStream(new BufferedOutputStream(new FileOutputStream(StringFileName)));
2.Create ObjectOutputStream out of FileOutputStream
3.Write different data types with ObjectOutputStream
4.A program that serializes and deserializes an Employee array
5.implements Externalizable
6.Writing objects to file with ObjectOutputStream
7.Serializing an Object (JButton)
8.Override writeObject(ObjectOutputStream oos) and readObject(ObjectInputStream ois)
9.Returns a byte array from the given object.








java2s.com  | © Demo Source and Support. All rights reserved.