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.

⭐ Make GKSeries Your Preferred Source on Google

Add GKSeries as Preferred Source