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 12984when 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 4672What is the difference between throw and throws? What is the similarity between try and throw?
2 4878What is the need of "creating and throwing an UserdefinedException" when the "Exception" class is already available?
4 5405
What is variable and constant explain with example?
What is byte [] in java?
What is a data structure java?
Can a main method be declared final?
What are the differences between path and classpath variables?
How many characters is 16 bytes?
How do you escape json?
What is <> used for in java?
What is the purpose of tostring() method in java?
What happens to a static var that is defined within a method of a class?
What is the significance of listiterator?
Is it possible to define a method in java class but provide it’s implementation in the code of another language like c?
How can you set an applet’s height and width as a percentage?
What modifiers may be used with an inner class that is a member of an outer class in java programming?
What are assembly attributes?