Which of the following File class methods can be used to determine if a file has any data in it?
A) length
B) size?
C) name?
D) size
Correct Answer:
Verified
Q23: Which of the mode options opens a
Q24: If an empty file were used as
Q25: Which of the following Dir class methods
Q26: Which of the following characters can be
Q27: RUBY_PLATFORM contains a string that identifies the
Q29: Which of the mode options opens a
Q30: Which of the following is the Ruby
Q31: Which of the mode options opens a
Q32: If you develop a script that will
Q33: RUBY_PLATFORM contains a string that identifies the
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents