How can you eliminate duplicates?
Answers were Sorted based on User's Feedback
Answer / deepak kumar sungh
Any Set. set always contains unique elements. However, you
must take care in case of objects where you need to define
the hashCode and equals method
| Is This Answer Correct ? | 2 Yes | 0 No |
Differentiate between overriding and overloading cases?
What is the difference between a static and a non-static inner class in java programming?
What happens if an exception is throws from an object's constructor?
Can we instantiate Interfaces?
What if the main() method is declared as private? What happens when the static modifier is removed from the signature of the main() method?
What is the null?
What is a class ?
What is a finally block?
What is the flag in java?
Write program to print Hello World and print each character address in that string and print how many times each character is in that string? Ex: H: 0 & 1 e:1 & 1 l :2,3,8 & 3 o:4,6 & 2 w:5 & 1 r: 7 & 1 d 9 & 1
why the wait,notify,notifyall methods are placed in object class?these are the thread concepts why these methods are placed in Object class?
2 Answers Global Logic, Satyam,
Explain about features of local inner class?