IO_Questions






1.      What is I/O in java?

2.      How do I write text to a file?

3.      How to set file permissions in java?




4.      What is FileInputStream and FileOutputStream in java explain?

5.      How many ways can we read data from the keyboard?

6.      How to delete temporary file in java?

7.      How to create temporary file in java?

8.      How to get list of all files from a folder in java?

9.      How to Filter the files by file extensions and show the file names in java?

10.  How to Filter the files by file extensions and show the file names in java?


11.  How to Filter the files by file extensions and show the file names in java?

12.  How to compress and uncompressed the data of a file in java?

13.  How to create and store property file dynamically in java?

14.  How to store and read objects from a file in java?

15.  How to create a new directory by using File object?


16.  What are the differences between FileInputStream/FileOutputStream and RandomAccessFile ? 

17.  How to read data from socket? What is the correct selection for the question?

18.  What is the difference b/w io and nio in java?

19.  How to read file content using byte array in java?

20.  How to get file URI reference in java?

21.  How to get file last modified time in java?


22.  How to write file handling program to copy characters from one file to another in java?


 23.   How to count number of characters in a file in java?

   





IO_Questions IO_Questions Reviewed by Mukesh Jha on 7:15 AM Rating: 5

No comments:

Add your comment

All Right Reserved To Mukesh Jha.. Theme images by Jason Morrow. Powered by Blogger.