import java.io.DataInputStream; import java.io.FileInputStream; import java.io.IOException; public class FileToScreen { public static void main(String[ ] args) throws IOException { DataInputStream input = new DataInputStream(new FileInputStream("FileToScreen.data")); String line = input.readLine(); int numShapes = Integer.parseInt(line); Shape[] shapes = new Shape[numShapes]; for (int shapeNumber = 0; shapeNumber