Question

URL throws an exception called

A IllegalURLException
B URLException
C MalformedHostException
D MalformedURLException
Answer & Explanation
Option: [D]

MalformedURLException thrown to indicate when a illegal URL has occured.