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

πŸ‘οΈ
95
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Team MCQ Buddy
Publisher
πŸ“ˆ
84%
Success Rate