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
How we can make copy of a java object?
What are different types of states exist for a thread?
Is string is a keyword in java?
What are different data structures in java?
What is linked hashmap and its features?
What is multithreading and its advantages?
What is return used for in java?
What does it mean to flush a file?
What are the advantages of defining packages in java?
Explain the difference between the public, private, final, protected, and default modifiers?
What is an object in java and how is it created?
What is difference between final and finally in java?
Suppose if we have variable ' I ' in run method, if I can create one or more thread each thread will occupy a separate copy or same variable will be shared?
What is an infinite loop?
What are data types in oop?