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()
Correct Answer:
Verified
Q1: Which of these package contains classes and
Q2: In the following URL, identify the protocol
Q3: Which of the following protocol follows connection
Q4: Which of the following statement is NOT
Q5: Which of the following statement is TRUE?
A)With
Q7: The server listens for a connection request
Q8: The client requests a connection to a
Q9: To connect to a server running on
Q10: In the socket programming, for an IP
Q11: To create an InputStream on a socket,
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents