Why Use File? (Page.283)Data stored in variables, arrays, and objects is temporary and lost when the program terminates.(存储在变量、 数组、对象中的数据都是临时的,程序结束后它们就会丢失) To permanently store the data created in a program, you need to save them in a file on a disk or a CD.(为了能够永久的 保存程序中产生的数据,可以使用文件。这些文件保存在硬盘和光盘上) The file can be transported and can be read later by other programs.(这样就使得文件可以被传递或者被其他程序读取)
variable, arrays, objects: temporary File: permanent

chapter 08 String and Text IO Part I_英语学习_外语学习_教育专区。Introduction To Java Programming Chapter8 String and Text IO Part I College Of ...
Data Management Chapter 1-partII 1 “Data” ? The word data is the ...hand side of the cells and text(string) entries to the left-hand side....
chapter 18 Binary IO_财会/金融考试_资格考试/...text files and can be read by a text editor,...(String[] args) throws IOException { ...
chapter 18 二进制IO_计算机软件及应用_IT/计算机...Text File & Binary File (文本文件和二进制文件)...(String[] args) throws IOException { ...
Introduction To Java Programming Chapter8 String and Text IO Part I College Of Software Liu. Zhi Gang Email:dqpilzg@163.com ? Objectives ? To use the...
Use the string control and indicator located on the Controls? String & Path palette to simulate text entry boxes and labels. ? Use the String functions...
课件chapter 18 二进制IO_理学_高等教育_教育专区。...Text File & Binary File (文本文件和二进制文件)...(String[] args) throws IOException { ...
chapter2(JavaServer Page)技术part1_计算机/互联...public static final String INFO = "www.MLDNJAVA...使用标签指令包含 <%@ page contentType="text/html...
? The differences between text files and binary files. ? Sequential-access ...String[] list() Fig.14.3 File methods. (Part 2 of 2) ? 2005 ...
Simple Java I/O Part II LineReader and LineWriter Text files ? Text (....(String line) { printWriter.println(line); } close void close( ) { ...
热门文档