Which of these methods can be used to know the type of focus change?
A. typeFocus()
B. typeEventFocus()
C. isTemporary()
D. isPermanent()
Answer:A
Which of these methods can be used to know the type of focus change?
A. typeFocus() B. typeEventFocus() C. isTemporary() D. isPermanent()
Explanation: There are two types of focus events – permanent and temporary. The isTemporary() method indicates if this focus change is temporary, it returns a Boolean value.