Q. Which of the following reads the textual contents of a URL and returns as a string?

  • (A) spawn(f);
  • (B) load(filename,…);
  • (C) readFile(file);
  • (D) readUrl(url);
πŸ’¬ Discuss
βœ… Correct Answer: (D) readUrl(url);
Explanation: Rhino defines a handful of important global functions that are not part of core JavaScript in which readUrl(url) reads the textual contents of a URL and return as a string.
Explanation by: Mr. Dubey
Rhino defines a handful of important global functions that are not part of core JavaScript in which readUrl(url) reads the textual contents of a URL and return as a string.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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