

McqMate
Q. |
How can you change the current working directory using an instance of the File class called FileName? |
A. | FileName.chdir("DirName"). |
B. | FileName.cd("DirName"). |
C. | FileName.cwd("DirName"). |
D. | The File class does not support directly changing the current directory. |
Answer» D. The File class does not support directly changing the current directory. |
View all MCQs in
Java ProgrammingNo comments yet