Java Programming with J2SE 5: Java I/O


Overview/Description
Target Audience
Prerequisites
Expected Duration
Lesson Objectives
Course Number



Overview/Description
To enable the learner to use Java's I/O facilities to read and write data, and format input or output

Target Audience
Programmers with an understanding of procedural programming concepts who want to learn Java and object-oriented programming; programmers proficient in another object-oriented programming language who want to move to Java; programmers experienced in the Java language who want to take the Sun Certified Programmer for the Java 2 Platform, Standard Edition 5.0 exam

Prerequisites
Knowledge of programming principles and experience in procedural programming or scripting languages, such as Visual Basic, C, or JavaScript; understanding of object-oriented languages, such as C++ or C#, is an advantage

Expected Duration (hours)
1.8

Lesson Objectives

Java Programming with J2SE 5: Java I/O

  • use the classes of the java.io package to access files, and read and write data for a given scenario.
  • use the classes of the java.nio package to modify buffers, retrieve a channel, and transfer data between channels.
  • write code to read and copy files in Java.
  • use a scanner to retrieve input from a specific source.
  • use the printf method and the Formatter class to format output for a given scenario.
  • format specific output, and use the Scanner class to retrieve input.
  • Course Number:
    222157_eng