Programming - Streams and Files - Discussion

You Are Here :: Home > JAVA > Streams and Files - Discussion

 



Q.

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


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

Answer: Option C
Explaination:

 


readLine() method is used to read data as Strings.readLine() method is defined in both the byte oriented classes as well as character oriented classes.




Discussion

Your Comments Goes here...
NameDiscussion