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 |
What is substring of a string?
what is inner class?
What is a default method?
What are the default and parameterized constructors?
How to provide security in java
0 Answers Infosys, TCS, Tech Mahindra,
In Inheritence concept, i have a static method in super class and i am inheriting that class to one sub class.in that case the static method is inherited to sub class or not????
Where is core java used?
In case of inheritance what is the execution order of constructor and destructor?
What are the types of java languages?
What is the multi-catch block in java?
How do you check if a character in a string is a digit or letter?
What is map in java?