Class URL in Java

All About Class URL in Java Class URL represents a uniform resource locator-a pointer to a…