Answer Posted / kiran
you have SET INTERFACE in COLLECTION in java . where u can
store unique elements and if u try to add duplicate elements
it will raise an error
| Is This Answer Correct ? | 10 Yes | 3 No |
Post New Answer View All Answers
What does the “final” keyword mean in front of a variable? A method? A class?
What are byte codes?
What is nested interface?
What is instanceof keyword?
What are the restrictions imposed on method overriding?
What is a superclass?
What is composition in java?
How to store image in arraylist in java?
Can a class have more than one object?
Can we have more than one package statement in source file ?
What is a website container?
Explain about doubly linked list
If a method is declared as protected, where may the method be accessed in java programming?
What is r * in math?
Why to use nested classes in java?