Multiple choice

Which of the following methods in TextField class fetches the minimum dimensions for this text field?

  1. minimumSize()

  2. minSize()

  3. getMinSize()

  4. getMinimumSize()

  5. getMinDimensions()

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

This is the correct choice. getMinimumSize() method is present in the TextField class and it returns the minimum dimensions for this text field.