aliensbrain
  • Home
  • Study
  • Quizzes
  • 🎤AI Practicefree
  • Notebooks
  • Community
  • Sign in
  • Advanced Java (NCO)
  • The _____________ method of FontMetrics class is used to ...
Multiple choice

The _____________ method of FontMetrics class is used to return the width of the widest character in java applet.

  1. getDescent()

  2. getMaxAdvance()

  3. getLeading()

  4. getMaxAscent()

  5. stringWidth()

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

This method of FontMetrics class is used to return the width of the widest character.

Keep practicing — related questions

  • The ____________ method of font class is used to return the style values of the invoking font.
  • Which of the following methods of Font class is used to return the logical name of the invoking font?
  • Which of the following methods of Font class returns the string equivalent of the invoking font?
  • How does applet recognize the height and width?-
  • Which of the following methods is not present in the TableColumn class in java?
  • In imageIcon class, which of the following methods returns the width of the icon in pixels?
  • Which of the following methods of Font class returns the name of the font family to which the invoking font...
  • Which of the following classes in Java encapsulates various information related to a font, which helps a us...
Play the full quiz 🎤 Practise this topic out loud

Practice this topic

  • Java Core Classes and Threads (1473 questions)
Advertisement
© Aliensbrain | all rights reserved
  • About
  • Contact
  • Terms and Condition
  • Privacy Policy