100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Summary

Summary Java is a widely used object-oriented programming language and software platform that runs on billions of devices, including notebook computers, mobile devices, gaming consoles, medical devices and many others. The rules and syntax of Java are based on th

Rating
-
Sold
-
Pages
43
Uploaded on
13-03-2023
Written in
2022/2023

Java is a widely used object-oriented programming language and software platform that runs on billions of devices, including notebook computers, mobile devices, gaming consoles, medical devices and many others. The rules and syntax of Java are based on the C and C++ languages.

Show more Read less
Institution
Course











Whoops! We can’t load your doc right now. Try again or contact support.

Written for

Course

Document information

Uploaded on
March 13, 2023
Number of pages
43
Written in
2022/2023
Type
Summary

Subjects

Content preview

Chapter 15: Input and Output
) Stream Classes
) Processing External Files
) Data Streams
) Print Streams
) Buffered Streams
) Use JFileChooser
) Text Input and Output on the Console
) Random Access Files
) Parsing Text Files

, Streams
) A stream is an abstraction of the continuous one-way
flow of data.

Input Stream




Program File




Output Stream

, Stream Classes
) The stream classes can be categorized into two types:
byte streams and character streams.
) The InputStream/OutputStream class is the
root of all byte stream classes, and the Reader/
Writer class is the root of all character stream
classes. The subclasses of InputStream/
OutputStream are analogous to the
subclasses of Reader/Writer.

, Byte Stream Classes
ByteArrayInputStream
DataInputStream InputData
FileInputStream
BufferedInputStream
FilterInputStream
LineNumberInputStream
InputStream SequenceInputStream
PushBackInputStream
PipedInputStream

ObjectInputStream ObjectInput

Object StringBufferInputStream


ByteArrayOutputStream

FileOutputStream BufferedOutputStream

OutputStream FilterOutputStream DataOutputStream OutputData

PipeOutputStream PrintStream

ObjectOutputStream ObjectOutput



RandomAccessFile
$7.99
Get access to the full document:

100% satisfaction guarantee
Immediately available after payment
Both online and in PDF
No strings attached

Get to know the seller
Seller avatar
vasanthaakash

Get to know the seller

Seller avatar
vasanthaakash Work from home
Follow You need to be logged in order to follow users or courses
Sold
0
Member since
2 year
Number of followers
0
Documents
6
Last sold
-

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Frequently asked questions