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 15789when 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 5786What 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 6896
Explain the selection sort algorithm?
Can we access instance variables within static methods ?
What is the use of math abs in java?
Explain the difference between treeset and treemap in java?
Can I use % with real numbers?
What is contract between hashcode and equal method?
What is the difference between stringbuffer and stringbuilder class?
Is integer immutable in java?
Does a class inherit the constructors of its superclass in java programming?
Is arraylist ordered in java?
What are the two ways of implementing multi-threading in java?
Can an interface implement another interface?
Write an algorithm program in java for the following question.. 1) S is a set of integers.X is an integer obtained by sum of two digits in S. Write logic for whether or not the X is from the S. The time of algorithm should not exceed o(n logn).
Explain the meaning of java applet.
How do you override a variable in java?