1.

Which of these methods is used to know host of an URL?(a) host()(b) getHost()(c) GetHost()(d) gethost()This question was posed to me during an interview for a job.My question comes from URL Class in chapter Serialization & Networking of Java

Answer» CORRECT OPTION is (B) getHost()

The EXPLANATION: NONE.


Discussion

No Comment Found

Related InterviewSolutions