Which of these methods is used to know the type of content used in the URL?
(a) ContentType()
(b) contentType()
(c) getContentType()
(d) GetContentType()
I had been asked this question at a job interview.
Question is from HttpResponse & URLConnection Class topic in section Serialization & Networking of Java