What is the use of collections in java? How it is
implemented in real time applications?

Answer Posted / pradip mishra(b-tech it)

interfaces, implementations, and algorithms — that comprise
the Java Collections Framework.

General-purpose implementations are the most commonly used
implementations, designed for everyday use. They are
summarized in the table below.
Special-purpose implementations are designed for use in
special situations and display nonstandard performance
characteristics, usage restrictions, or behavior.
Concurrent implementations are designed to support high
concurrency, typically at the expense of single-threaded
performance. These implementations are part of the
java.util.concurrent package.
Wrapper implementations are used in combination with other
types of implementations, often the general-purpose ones,
to provide added or restricted functionality.
Convenience implementations are mini-implementations,
typically made available via static factory methods, that
provide convenient, efficient alternatives to general-
purpose implementations for special collections (for
example, singleton sets).
Abstract implementations are skeletal implementations that
facilitate the construction of custom implementations —
described later in the Custom Collection Implementations
section. An advanced topic, it's not particularly
difficult, but relatively few people will need to do it.

Is This Answer Correct ?    2 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the selection sort algorithm and state its time complexity?

615


how to handle exceptions in ejb?

1881


How many types of variables are there?

676


What is arguments in java?

525


Is ++ operator thread-safe in java?

638






Why do we need variables?

533


What is string buffer?

506


How to read and write image from a file ?

561


What do heavy weight components mean in java programming?

527


Name the components that are termed to be Heavy-weight component but available in Light-weight components?

1989


What is comparator in java?

559


What is the generic class?

533


If an application has multiple classes in it, is it okay to have a main method in more than one class?

541


Differece between class and generic class?

568


What is thread safe in java?

555