explain the collection in java

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What do you mean Abstraction in java?

695


what do you mean by stream pipelining in java 8? Explain

617


What is the use of using enum to declare a constant?

647


How do you stop a thread in java?

696


Why char array is preferred over string for storing password?

684






Which collection is ordered in java?

631


What methodology can be utilized to link to a database?

596


Is void a data type?

622


What is oop in java?

611


What is the old name of java?

594


What is ‘is-a ‘ relationship in java?

678


Is there any way to find whether software installed in the system is registered by just providing the .exe file? I have tried the following code but its just displaying the directory structure in the registry. Here the code : package com.msi.intaller; import java.util.Iterator; import ca.beq.util.win32.registry.RegistryKey; import ca.beq.util.win32.registry.RootKey; public class RegistryFinder { public static void main(String... args) throws Exception { RegistryKey.initialize(RegistryFinder.class.getResource("jRe gistryKey.dll").getFile()); RegistryKey key = new RegistryKey(RootKey.HKLM, "Software\\ODBC"); for (Iterator subkeys = key.subkeys(); subkeys.hasNext();) { RegistryKey subkey = subkeys.next(); System.out.println(subkey.getName()); // You need to check here if there's anything which matches "Mozilla FireFox". } } }

1446


Which of the following is not an isolation level in the JDBC

1717


Why to use nested classes in java?

678


How do you call a reference in java?

597