How do you define a set in java?
Answer / Priyanka Wadhwa
In Java, a Set is an interface that extends the Collection interface and represents a collection of unique elements. The HashSet is one of the most common implementations of the Set interface.
| Is This Answer Correct ? | 0 Yes | 0 No |
How GC (Garbage Collector) knows the objects reference is unused.Whether GC removes the unused object Parmanently or it maintains something.
What is the collections api in java programming?
What is oops in java?
What is meant by packages?
What is data structure in java?
Can a singleton class be inherited?
explain the collection in java
Which of the classes will have more memory allocated?
What is java in layman terms?
How many decimal digits is 64 bit?
What are 3 data types?
Can list contain null in java?