explain the collection in java
Answer / supraja
Arrays
Has special language support
• Iterators
Iterator (i)
• Collections (also called containers)
Collection (i)
Set (i),
HashSet (c), TreeSet (c)
List (i),
ArrayList (c), LinkedList (c)
Map (i),
HashMap (c), TreeMap (c)
| Is This Answer Correct ? | 5 Yes | 1 No |
"we cannot create an object of interface but we can create a variable of it".diacuss the statement with the help of an example.
Can java object be locked down for exclusive use by a given thread?
Is boolean a wrapper class in java?
Can a class be final?
What is ctrl m character?
What is the importance of finally block in exception handling?
What is e in java?
Why arraylist is used in java?
Is jdk required on each machine to run a java program?
Can we convert integer to string in java?
What is a variable in java?
How to convert string to int in java?