in a constructor what happen if u call super and this in the same class? i know that it is not possible to call both in the same one? if we call what will happen?
10 15783when i write string s1="java"; in one program(application) and string s2="java"; in another application on the same jvm will both objects s2,s2 will refer to same memory location where "java" is stored in string pool.
2 5777What is the difference between throw and throws? What is the similarity between try and throw?
2 5863What is the need of "creating and throwing an UserdefinedException" when the "Exception" class is already available?
4 6888
Can a class be a super class and a sub-class at the same time? Give example.
Difference between nested and inner classes ?
What is the advantage of preparedstatement over statement?
What is the default value of byte datatype in java?
When is the finalize() called?
What is the difference between static and global variables and also define what are volatile variables?
Is this valid in java ? Can we instantiate interface in java?
Explain the use of volatile field modifier?
what is meant by encapsulation?
How can you generate random numbers in java?
What is the difference between choice and list?
Can you access non static variable in static context?
Lowest Common ancestor in a Binary Search Tree and Binary Tree.
What is a numeric digit?
What is the SimpleTimeZone class?