Q. Which of the following method call is valid to obtain the server's hostname by invoking an applet?

  • (A) getCodeBase().host()
  • (B) getCodeBase().getHost()
  • (C) getCodeBase().hostName()
  • (D) getCodeBase().getHostName()
πŸ’¬ Discuss
βœ… Correct Answer: (B) getCodeBase().getHost()

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
82
Total Visits
πŸ“½οΈ
11 mo ago
Published
πŸŽ–οΈ
Team MCQ Buddy
Publisher
πŸ“ˆ
94%
Success Rate