You are on page 1of 1

Chapter 6.

File I/O & collection frame work

4 Marks

1. What are stream classes? List any two input stream classes from character
stream
2. Explain serialization with stream classes.
3. State syntax and describe any two methods of map class.
4. What is use of Array list class? State any two methods with their use from Array
List.
5. What are streams? Write any two methods of character stream classes.
6. Write any two methods of File and FileInputStream class each.
7. What is use of ArrayList Class? State any three methods with their use from
ArrayList.
8. Explain serialization in relation with stream classes.
9. Write any two methods of file and file input stream class each.
10. Write a program to copy contents of one file to another file using character stream
class.
11. Write syntax and function of following methods of Date class :
i) getTime ( ) ii) getDate ( )
12. What is use of stream classes ? Write any two methods FileReader class.
13. Write syntax and function of following methods of date class :
1) setTime ( ) 2) getDay ( )
14. What is use of setclass? Write a program using setclass.
15. Write any four methods of file class with their use.
16. What is the use of Stream classes? Write any 2 methods of FileReader class.
17. Write syntax and function of following methods of Date class :
1) after() 2) getTime()

6 Marks

8 Marks

1. State the use of font class. Describe any three methods of font class with their
syntax and example of each.
2. State the use of Font class. Write syntax to create an object of Font class.
3. Describe any 3 methods of Font class with their syntax and example of each.

You might also like