FiboRead - aqFF =(ArrayQueue)objstream.readObject();...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
import java.io.*; i public class FiboRead{ public static void main(String[] args){ ArrayQueue aqFF=null; //arrayQueue from file try{ ObjectInputStream objstream = new ObjectInputStream(new FileInputStream("Fibonacci10.ser"));
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: aqFF =(ArrayQueue)objstream.readObject(); objstream.close(); }catch(Exception e){e.printStackTrace();} if (aqFF!=null) System.out.println(aqFF); } }...
View Full Document

Ask a homework question - tutors are online