A

Admin • 833K Points
Coach

Q. What is the syntax to close file in ruby?

  • (A) File.close()
  • (B) close.File
  • (C) File.close
  • (D) close.File()
  • Correct Answer - Option(C)
  • Views: 18
  • Filed under category Ruby
  • Hashtags:

Explanation by: Admin

File.close is the syntax to close file in ruby.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.