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 15490when 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 5666What 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 6762
What does function identity () do?
I want my class to be developed in such a way that no other class (even derived class) can create its objects. How can I do so?
What is linked hashmap and its features?
Can we use synchronized block for primitives?
What is a substitution variable?
what do you mean by classloader?
Explain the difference between extends thread vs implements runnable in java?
What are the parts of methodology?
What is the function of log?
What is append in java?
What is a linkedhashmap java?
What is casting in java programming?
Can we execute a program without main?
What are data structures in java?
Can java hashmap have duplicate keys?