Programming - Streams and Files - Discussion

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

 



Q.

______________ returns true if the file is of type read-write returns false if the file is of type read only                         


A. can write() B. can read()
C. isDirectory() D. isFile()

Answer: Option A
Explaination:

 


canWrite() returns true if the file is of type read-write returns false if the file is of type read only




Discussion

Your Comments Goes here...
NameDiscussion