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 will you add panel to a frame?
Can we overload the methods by making them static?
What are abstract classes and anonymous classes?
How does sublist works in java?
What is encapsulation in java?
What is default constructors?
What do you mean by Hash Map and Hash Table?
What is the need of transient variables in Java ?
What are the advantages of compiled language?
Write an algorithm program in java for the following question.. In a VLSI design techniques,they used rectangles to design circuits. EVery rectangle is to be placed according to x,y coordinates. Check whether or not two rectangles overlap each other. Here overlapping of rectangles is acceptable, if 1) one rectangle intersect with other. 2) one rectangle fully covers other. The time of algorithm should not exceed o(n logn).
What happens if we don’t define serial version uid?
What is the use of StringTokenizer class?
What are keywords in java?
How to do a true java ping from windows?
What is the r character?