Q. Which of the following method call is valid to obtain the server's hostname by invokingan applet? (Solved)

1. getCodeBase().host()

2. getCodeBase().getHost()

3. getCodeBase().hostName()

4. getCodeBase().getHostName()

  • b. getCodeBase().getHost()
Subscribe Now

Get All Updates & News