Skip to content

Category Archives: Java Programs

TreeMap  is a part of Java Collection framework. Java TreeMap contains values based on the key. It implements the NavigableMap interface and extends AbstractMap class.… Read More
The LinkedBlockingDeque class introduced in JDK 1.6 is present in java.util.concurrent package. It is a deque which means a doubly ended queue. The default size… Read More
ArrayList is a part of collection framework and is present in java.util package. It provides us with dynamic arrays in Java. Generating random numbers from… Read More
ArrayList class Java is basically a resizable array i.e. it can grow and shrink in size dynamically according to the values that we add to… Read More
Map interface present in java.util package represents a mapping between a key and a value. The Map interface is not a subtype of the Collection… Read More
An AttributeList can be used to get and set multiple MBean attributes in a single invocation. It is an ArrayList that can only contain Attributes.… Read More
Array is a group of like-typed variables that are referred to by a common name. Java arrays can be both types namely primitive data types… Read More
A circle is a simple shape consisting of all the points in the plane that are equidistant from a point known as the center of… Read More
The ArrayList class is a part of the collection framework and is present in java.util package. It provides us with resizable or dynamic arrays in… Read More
The Java OutputStream class,, is the base class of all output streams in the Java IO API. An output stream accepts output bytes and… Read More
An array is a collection of items stored at contiguous memory locations. The idea is to store multiple items of the same type together.The base… Read More
To replace an element from an ArrayList, the set() method of ListIterator interface can be used. set() method of ListIterator replaces the last element which… Read More
LinkedHashMap is a predefined class in Java that is similar to HashMap, contains key and its respective value unlike HashMap, In LinkedHashMap insertion order is… Read More
The List interface provides a way to store the ordered collection. It is an ordered collection of objects in which duplicate values can be stored.… Read More
The Collection is a framework offered by Java that provides an architecture to store a group of objects. One such collection is Vector(). There are… Read More

Start Your Coding Journey Now!