Which one of the following is not attributes of file?

Trang Mắm

New member
Which one of the following is not attributes of file?
A. closed
B. softspace
C. rename
D. mode
 
Answer: c
Explanation: rename is not the attribute of file rest all are files attributes.
Attribute Description
file.closed Returns true if file is closed, false otherwise.
file.mode Returns access mode with which file was opened.
file.name Returns name of the file.
file.softspace Returns false if space explicitly required with print, true otherwise.
 

Tìm kiếm

Back
Top