Programming - Streams and Files

You Are Here :: Home > JAVA > Streams and Files - General Questions

 
13.

We can create object of output stream class with the help of an anonymous ____________________ class                        


A. inner B. outer
C. Reader Class D. Writer Class




14.

why we use system.out?                        


A. because 'out' is a static variable in system class B. because 'out' is a final variable in system class
C. because 'out' is a non-static variable in system class D. because 'out' is a global variable in system class




15.

___________________ method is used to read data in bytes.                        


A. read() B. write()
C. readLine() D. writeLine()




16.

___________________ method is used to read data as Strings.                        


A. read() B. write()
C. readLine() D. writeLine()




17.

The ____________________ method is defined in both the byte oriented classes as well as character oriented classes.                        


A. read() B. write()
C. readLine() D. writeLine()




18.

Whenever we need to store data permanently then we use the concept of ___________________.                        


A. Files B. streams
C. packages D. folders




« prev

1

2

3

4

5

6

7

8

9

next »

 
 



© 2013 freshersindia.in ® | Copyrights | Terms & Conditions
   Designed by Freshers India
Catch Us on