πŸ“Š JAVA
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.
πŸ’¬ Discuss
βœ… Correct Answer: (D) The File class does not support directly changing the current directory.

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
206
Total Visits
πŸ“½οΈ
2 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
90%
Success Rate