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 15491when 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 5674What is the difference between throw and throws? What is the similarity between try and throw?
2 5747What is the need of "creating and throwing an UserdefinedException" when the "Exception" class is already available?
4 6764
How many characters is 16 bytes?
You're given a Boolean 2D matrix, can you find the number of islands?
What is meant by string is immutable?
How does compareto method work?
What is the use of using enum to declare a constant?
What is unicode in java?
What is the difference between JDBC 1.0 and JDBC 2.0?
Is java same as core java?
What is the difference between jfc & wfc?
What is an abstract class and what is it’s purpose?
Can a boolean be null java?
Difference between association, composition and aggregation?
What is method overloading in java ?
Explain about sets?
Why do we need hashmap in java?