Java Basic
-  Which of these methods can be used to obtain the command name for invoking ActionEvent object?
- 
                        View Hint View Answer Discuss in Forum NA Correct Option: DgetActionCommand() 
-  Which of these are integer constants defined in ActionEvent class?
- 
                        View Hint View Answer Discuss in Forum NA Correct Option: DAction event defines 4 integer constants ALT_MASK, CTRL_MASK, SHIFT_MASK and ACTION_PERFORMED 
-  Which of these methods can be used to know which key is pressed?
- 
                        View Hint View Answer Discuss in Forum NA Correct Option: CThe getModifiers() methods returns a value that indicates which modifiers keys (ALT, CTRL, META, SHIFT) were pressed when the event was generated. 
-  Which of these events is generated by scroll bar?
- 
                        View Hint View Answer Discuss in Forum NA Correct Option: DWindowEvent 
-  Which of these methods is used to get x coordinate of the mouse?
- 
                        View Hint View Answer Discuss in Forum NA Correct Option: CgetX() and getY() are used to obtain X AND Y coordinates of the mouse. 
 
	