πŸ“Š JAVA
Q. Which of the following method call is valid to obtain the server's hostname by invokingan 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

πŸ‘οΈ
201
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Babita
Publisher
πŸ“ˆ
91%
Success Rate