QUESTION 4 a) The URL class represents a uniform resource locator (URL). Discuss FOUR (4) different forms to create a ne
Posted: Tue May 24, 2022 7:59 am
QUESTION 4 a) The URL class represents a uniform resource locator (URL). Discuss FOUR (4) different forms to create a new URL. (10 marks) b) URL defines a method called openStream(), which opens a network connection using the given URL and returns an instance of the class InputStream. Give a example that shows DatalnputStream with a BufferedInputStream. (10 marks)