Answer Posted / krishnareddym. a
When we required uniqueness then we can use set and set
does not allow any duplications but list may contain
duplications set and list both extends collection interface...
| Is This Answer Correct ? | 22 Yes | 6 No |
Post New Answer View All Answers
What was java originally called?
What is mean by exception?
What is the purpose of encapsulation?
How can we make string upper case or lower case?
How do you remove duplicates in java?
What are implicit objects in java?
What are the differences between path and classpath variables?
What is final method?
What is ‘is-a ‘ relationship in java?
Explain the difference between throw and throws in java?
Explain different states of a thread in java?
Define iterator and methods in iterator?
What is t in parametric equations?
What does escaping a character mean?
What is a singleton class? Give a practical example of its usage.