Java Basic
- Which of these events will be generated if we close an applet’s window?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: D
WindowEvent is generated when a window is activated, closed, deactivated, deiconfied, iconfied, opened or quit.
- Which of these events will be notified if scroll bar is manipulated?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: B
AdjustmentEvent is generated when a scroll bar is manipulated.
- Which of these class is super class of all the events?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: C
EventObject class is a super class of all the events and is defined in java.util package.
- Which of these methods can be used to determine the type of event?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: D
getID() can be used to determine the type of an event.
- Event class is defined in which of these libraries?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: A
java.util