-
-
Is "abc" a primitive value
The String literal "abc" is not a primitive value. It is a String object.
-
For which statements does it make sense to use a label
The only statements for which it makes sense to use a label are those statements that canenclose a break or continue statement.
-
-
Are true and false keywords
The values true and false are not keywords.
-
Implementing Pagination
How we implement pagination in j2ee
-
-
-
What is the difference between the prefix and postfix forms of the ++ operator
The prefix form performs the increment operation and returns the value of the incrementoperation. The postfix form returns the current value all of the expression and thenperforms the increment operation on that value.
-
Exception handling catch block?
Please observe the following code....public class MyClass{ public static void main(String[] args) { try{ //code here }catch(Exception e) { System.out.println(e); } }}if the try block throws an ArithmeticException,NullPointerException,etc....we can handle the exception...Because those are the sub classes of Exception class...The Question...
-
Garbage Collector
What are the 4 stages of garbage collector? How and when Garbage collector comes into picture? What is the importance of finalize method?
-
-
Applet Newline
How to give newline after creating level or textfield in Java Applet?
-
-
-
Which java.util classes and interfaces support event handling
The EventObject class and the EventListener interface support event processing.
-
-
_________ is used to destroy the objects created by the constructor methods.
Skill/Topic: AWT & AppletsA) finalize()
-
-
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?
Java Interview Questions
Ans