how to download image from any web page in java
<p>hi
  I am trying to download image from web page.
  I am trying to download the image from 'http://www.yahoo.com' home page.
  Please tell me how to pass 'http://www.yahoo.com' as a input.
  And on opening this web page how to fetch image from this page.
  Please give me java code to fetch the image from web page.</p>
