The ________ class represents a Uniform Resource Identifier and is designed to handle the complete URI syntax.

  • URI
  • URL
  • URN
  • UniformResource
The correct answer is "URI." In Java, the URI class is used to represent a Uniform Resource Identifier. It's designed to handle the complete URI syntax, including components like scheme, authority, path, query, and fragment. A URI is a broader concept that includes URLs (Uniform Resource Locators) and URNs (Uniform Resource Names).
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *