What is the top class of AWT event hierarchy?
Answers were Sorted based on User's Feedback
Answer / janet
The java.awt.AWTEvent class is the highest-level class in
the AWT event-class hierarchy.
| Is This Answer Correct ? | 18 Yes | 0 No |
Answer / akhil
AWTEvent class is the top class of AWT event hierarchy and
all other event classes and awt event also extends from
EventObject class
| Is This Answer Correct ? | 8 Yes | 2 No |
Answer / chandrarekha
java.util.EventObject---java.awt.awtevent....
| Is This Answer Correct ? | 6 Yes | 3 No |
How do you compare characters in java?
Can we serialize arraylist in java?
Why stringbuilder is not thread safe?
I declared main() method as private. But it still running and displaying the output. Please Answer it . Code Snippet as Below: import java.io.*; class over { private static void main(String[] args) { int high = Integer.MAX_VALUE; int overflow = high + 1; int low = Integer.MIN_VALUE; int underflow = low - 1; System.out.println(high + "\n" +overflow +"\n"+ low +"\n"+underflow); //System.out.println(overflow); //System.out.println(low); //System.out.println(underflow); } }
In collection sorting comparable and comparator interface will be used..but why this two interfaces required..two will work same purpose so why there are two interfaces instead of one?when to use comparator and when to use comparable?
system.out.println(1 + 3);
What is java reflection api?
What is difference between static class and singleton pattern?
What are constructors in java?
What is difference between final and immutable?
Explain inner classes ?
How many bits are in a sentence?