Wednesday, June 10, 2009

Java all-in-one (almost)

I've created a single java file that demonstrates most of what we're going to be asked to code for the upcoming exam.


  • It demonstrates the following

  • File input from plain text

  • File output to plain text

  • File input from binary (deserialization)

  • File output to binary (serialization)

  • Use of the HashMap Abstract Data Type

  • Use of the Collection Abstract Data Type

  • Use of an Iterator

  • Excetion handling



FileIODemo.java

No comments:

Post a Comment