🎴 Flashcard Mode

Java Class Methods

Card1 / 15
Mastered0
Review0
QuestionClick to flip

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

AnswerClick to flip back
A
getLabel()
💡 Explanation:

This is the correct choice. getLabel() method was earlier defined in the AbstractButton class, but now this method has been deprecated and is replaced by getText() method. This method is used to get the button's text.

Change Mode