---
title: "Java中的输入输出流"
author: "cppbomb"
date: "2012-04-25T15:24:33Z"
tags: []
categories: ["编程语言"]
slug: "java"
draft: false
lastmod: "2012-04-25T15:24:33Z"
id: 1498103
url: "https://cppbomb.iteye.com/blog/1498103"
---

1 FileInputStream f = new FileInputStream("a.txt");

  FileOutputStream f = new FileOutputStream("a.txt");

2 ObjectOutputStream o = new ObjectOutputstream(f);

  ObjectInputStream o = new ObjectInputstream(f);