Uniform Resource Identifier (URI) is used to name or identify a resource. URI can be classified as Uniform Resource Locator (URL) and Uniform Resource Name (URN). So every URL is a URI, but not every URI is a URL. URI object can represent a relative URI and does not depend on an underlying protocol handler. This class doesn't have network retrieval capabilities while URL represents an application layer protocol for network retrieval.
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.