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()
Answer» B. getCodeBase().getHost()
2.1k
0
Do you find this helpful?
11

View all MCQs in

Advanced JAVA

Discussion

No comments yet