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 is main in java?
What is string and its types?
What are decalarations?
How many bits is a word?
What will be the default values of all the elements of an array defined as an instance variable?
What are the different ways of creating thread?
How infinite loop is declared?
What are the important features of Java 11 release?
Is a boolean variable?
What is pre increment and post increment in java?
What java is used for?
Will the compiler creates a default constructor if I have a parameterized constructor in the class?
Can you explain inner class.
What are the 3 types of control structures?
What is independent and dependent variables in research?