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
Tell us something about different types of casting?
Difference between character constant and string constant in java ?
Can we convert stringbuilder to string in java?
What is the difference between abstraction and encapsulation?
Can we define static methods inside interface?
Explain about main() method in java ?
Define inheritance?
Is java an open source?
How do you pass by reference?
What data type is string java?
What is adapter in java?
What are abstract methods in java?
Explain about static imports in java?
What is return null in java?
What is the default execution method in java?