MCQOPTIONS
Saved Bookmarks
| 1. |
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() |
| Answer» C. getCodeBase().hostName() | |