Which java.util classes and interfaces support event
handling?
Answers were Sorted based on User's Feedback
Answer / shan
EventObject is a class which belongs to java.util package ,
and its subclasese
EventListener interface and its sub interfaces belongs to
util package
so that the both EventObject and EventListener helps to
perform event handling in java
| Is This Answer Correct ? | 14 Yes | 2 No |
The interface java.util.Observer interface and the
java.util.Observable class support event handling
| Is This Answer Correct ? | 6 Yes | 9 No |
Justify your answer that you can't define a method inside another method in java, if you can then how?
What are constructors in java?
When does a class need a virtual destructor?
What does function identity () do?
What is the difference between add() and addElement() method in Vector Class ?
What are the two parts of a conditional statement?
How do you access command-line arguments within the code?
0 Answers Flextronics, Hexaware,
What is compareto () in java?
What are the differences between stringbuffer and stringbuilder?
Can we start a thread twice in java?
i need example for java abstraction. where we use abstraction and why we need abstraction.
Why are getters and setters used?