Home / Programming MCQs / JAVA MCQs / Question

B

Babita • 7.55K Points
Tutor III

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()

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.