McqMate
Sign In
Hamberger menu
McqMate
Sign in
Sign up
Home
Forum
Search
Ask a Question
Sign In
McqMate Copyright © 2026
→
Master of Science in Information Technol...
→
Advanced JAVA
→
Which of these methods is used to know ...
Q.
Which of these methods is used to know host of an URL?
A.
host()
B.
gethost()
C.
gethost()
D.
gethost()
Answer» B. gethost()
960
0
Do you find this helpful?
6
View all MCQs in
Advanced JAVA
Discussion
No comments yet
Login to comment
Related MCQs
Which of these methods is used to know the full URL of an URL object?
Which of these method is used to find a URL from the cache of httpd?
Which of these class is used to access actual bits or content information of a URL?
Which of these exception is thrown by URL class’s constructors?
Which method is used to establish the connection with the specified url in a Driver Manager class?
Which method take a string not a URL?
Which are the session tracking techniques? i. URL rewriting ii. Using session object iii.Using response object iv. Using hidden fields v. Using cookies vi. Using servlet object
Which of these methods of httpd class is used to read data from the stream?
In the socket programming, for an IP address, which can be used to find the host name and IP address of a client/ server?
URL encoding is the method of replacing all the spaces and other extra characters into their corresponding _______ Characters?