JavaDeploy
SiteMap
Readers Writers
Java Streams
Java Programming
Java Language
Readers Writers
«Prev
Next»
Java Readers Writers
Java Files
Java File Class
File Listing Information
Listing Path Information
Determine File Format
move, rename, delete Files
Creating Directories Paths
Listing Directories Paths
Random Access Files
Positioning RandomAccess I/O
File Dialogs
Choosing File Dialog
Create FileDialog Box
Default Directory Java
Choosing Files
Get Directory Filename
Java Filename Filters
fileDumper Program Project
File Dialog Box Acceptance
Reading Writing Text
Java Character Sets
Java Reader Writer
Java Reader Class
Read TextFile Print
Readers Writers
Line Number Reader
Java-IO Mini-API
String Readers and Writers - Exercise
Objective:
Write a program that reads a file and stores its contents in a single string.
Paste the source code below and click the
Submit
button when you are ready to submit this exercise.