TAILIEUCHUNG - Lecture Java™ How to Program (8/e) - Chapter 17: Files, streams and object serialization

After completing this unit, you should be able to: To create, read, write and update files; to use class File to retrieve information about files and directories; the Java input/output stream class hierarchy; the differences between text files and binary files; sequential-access and random-access file processing; to use classes Scanner and Formatter to process text files;. | Java How to Program, 8/e (C) 2010 Pearson Education, Inc. All rights reserved. (C) 2010 Pearson Education, Inc. All rights reserved. (C) 2010 Pearson Education, Inc. All rights reserved. Data stored in variables and arrays is temporary It’s lost when a local variable goes out of scope or when the program terminates For long-term retention of data, computers use files. Computers store files on secondary storage devices hard disks, optical disks, flash drives and magnetic tapes. Data maintained in files is persistent data because it exists beyond the duration of program execution. (C) 2010 Pearson Education, Inc. All rights reserved. Ultimately, a computer processes data items as combinations of zeros and ones It’s simple and economical for engineers to build electronic devices that can assume two stable states—one representing 0 and the other representing 1. The smallest data item in a computer can assume the value 0 or the value 1. Such a data item is called a bit .

TỪ KHÓA LIÊN QUAN
TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.