CSC-113-Tutorial 9 - KSU / CCIS / CS DEPARTMENT CSC-113,...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
KSU / CCIS / CS DEPARTMENT CSC-113, SPRING 2010 TUTORIAL 9 – File Input and Output Exercise 1 : Write a java program that inputs a document from a text file and saves the modified version to another text file. Modify the original document by replacing all the occurrences of the word designated by the user with text “BLACKED OUT”. For the text replacement operation, consider using the pattern matching techniques discussed in chapter 9, from the textbook. Create
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 11/28/2011 for the course COMPUTER S 113 taught by Professor Dr.safwanqasem during the Spring '11 term at King Saud University.

Ask a homework question - tutors are online