-
-
-
-
-
-
-
-
-
-
Anonymous Class
What is anonymous class? What is its use in Java?
-
Volatile Modifier
What is volatile modifier in Java? How it is useful?
-
Inheritance in java
Is super class object gets initiated while creating the subclass object? what happen in heap and stack when call super class method from subclass and call super class constructor by using super keyword from subclass?
-
What is the role of extends in java?
Explain with an example how do you use extends in java
-
What's new with the stop(), suspend() and resume() methods in JDK 1.2
The stop(), suspend() and resume() methods have been deprecated in JDK 1.2.
-
Which characters may be used as the second character of an identifier,but not as the first character of an identifier
The digits 0 through 9 may not be used as the first character of an identifier but they maybe used after the first character of an identifier.
-
Which java.util classes and interfaces support event handling
The EventObject class and the EventListener interface support event processing.
-
-
-
What are order of precedence and associativity, and how are they used
Order of precedence determines the order in which operators are evaluated inexpressions. Associatity determines whether an expression is evaluated left-to-right orright-to-left
-
What is the catch or declare rule for method declarations
If a checked exception may be thrown within the body of a method, the method musteither catch the exception or declare it in its throws clause.
Java Interview Questions
Ans