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 different between static and non static methods ,using example
What are data structures in java?
1).Is Object class abstract or not? 2).Is main method(public static void main(String args[])low priority thread or high priority thread?
how to print hello world every second till i have pressed enter key ???
How do you add spaces in java?
JVM is platform independent or depeneded?
What is scanner in java?
What is a variable analysis?
Can you override static methods?
how to print the below in java?thanks in advance.... * * * * * * * *
Suppose if we have variable ' I ' in run method, if I can create one or more thread each thread will occupy a separate copy or same variable will be shared?
Which class should you use to obtain design information about an object in java programming?