Share on Google+Share on Google+

File Handling

Advertisement
In this SCJP topic you will see many question on java.io package's classes like File, FileReader, FileWriter, PrintWriter.
SCJP Module-10 Question-1
The given program will test your understanding of File class and its package in Java.
 
SCJP Module-10 Question-2
The sample example given below will test your understanding of File class of Java.
 
SCJP Module-10 Question-3
The Sample example given below will test your understanding of creating a file using File class on the local disk.
 
SCJP Module-10 Question-4
The sample code given below will test your understanding of File class their methods in Java.
 
SCJP Module-10 Question-5
This sample code will test your understanding of opening a file and writing data onto the file.
 
SCJP Module-10 Question-6
The Sample code given below will test your understanding of writing file using FileWriter class in Java.
 
SCJP Module-10 Question-7
The sample code given below will test your understanding of creating a file and writing data onto it by using the File and FileWriter respectively.
 
SCJP Module-10 Question-8
The Sample program given below will test your understanding about the Stream classes in Java.
 
SCJP Module-10 Question-9
The given Sample program will test your understanding about the opening a file in Java and writing data into it.
 
SCJP Module-10 Question-10
The given example will test your understanding about the BufferedReader and FileReader classes and how to use this classes to read a file in Java.
 

Advertisements

Posted on: July 16, 2010 If you enjoyed this post then why not add us on Google+? Add us to your Circles

Share this Tutorial Follow us on Twitter, or add us on Facebook or Google Plus to keep you updated with the recent trends of Java and other open source platforms.