A

Admin • 828.03K Points
Coach

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.
  • Correct Answer - Option(D)
  • Views: 18
  • Filed under category Java
  • Hashtags:

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.