Multiple choice

Which of the following methods is not present in the Imageview class in java?

  1. getImageURL()

  2. getNoImageIcon()

  3. getAltText()

  4. getLoadingImageIcon()

  5. getURL()

Reveal answer Fill a bubble to check yourself
E Correct answer
Explanation

This is the correct choice. There is no method named getURL() in ImageView class. The correct method name is getImageURL(). This method returns a URL for an image source or null if it could not be determined.