aliensbrain
  • Home
  • Study
  • Quizzes
  • 🎤AI Practicefree
  • Notebooks
  • Community
  • Sign in
  • Java Applets, Servlets and Java Beans
  • In imageIcon class, which of the following methods return...
Multiple choice

In imageIcon class, which of the following methods returns the width of the icon in pixels?

  1. getIconHeight()

  2. paintIcon()

  3. getIconWidth()

  4. none of these

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

This method in ImageIcon class returns the width of the icon in pixels.

Keep practicing — related questions

  • Which of the following methods is not present in the Imageview class in java?
  • To determine the width and height of an application, which of the following method is used?
  • The ____________ method of font class is used to return the style values of the invoking font.
  • The _____________ method of FontMetrics class is used to return the width of the widest character in java a...
  • Which of the following methods of Font class is used to return the logical name of the invoking font?
  • How does applet recognize the height and width?-
  • Which of the following properties returns the values of the pixels of the length of the width and height of...
  • Which of the following methods is present in the AbstractButton class in Java?
Play the full quiz 🎤 Practise this topic out loud

Practice this topic

  • Java Enterprise and Web Technologies (2183 questions)
Advertisement
© Aliensbrain | all rights reserved
  • About
  • Contact
  • Terms and Condition
  • Privacy Policy