Java - Medium Articles
Java Set is a part of java.util package and extends java.util.Collection interface. It does not allow the use of duplicate elements and at max can… Read More
The poll() method of Queue Interface returns and removes the element at the front end of the container. It deletes the element in the container.… Read More
Function Currying is a concept of breaking a function with many arguments into many functions with single argument in such a way, that the output… Read More
Apache POI is a powerful API by which one can read, write and modify any Microsoft document like powerpoint, world, or excel. Apache POI have different… Read More
An attribute in servlet is an object that can be set, get or removed by the following aspects Request Scope Application Scope Session Scope To… Read More
ArrayBlockingQueue class is a bounded blocking queue backed by an array. By bounded, it means that the size of the Queue is fixed. Once created,… Read More
StackPane class is a part of JavaFX. StackPane class lays out its children in form of a stack. The new node is placed on the… Read More
HashMap is a part of java.util package.HashMap extends an abstract class AbstractMap which also provides an incomplete implementation of Map interface. It stores the data… Read More
Prerequisite: Round Robin Scheduling with arrival time as 0 A round-robin scheduling algorithm is used to schedule the process fairly for each job a time… Read More
ImmutableList, as suggested by the name, is a type of List which is immutable. It means that the content of the List are fixed or… Read More
Iterable and Collection have served to be of great use in Java. Iterators are used in Collection framework in Java to retrieve elements one by… Read More
Iterator and Collection, both has helped and comforted the programmers at many a times. But their usage and application has a very wide difference.  1.… Read More
Given an array of N integers and an integer M. You can change the sign(positive or negative) of any element in the array. The task… Read More
Recall what are the steps involved in the running of a Java program, the program is first compiled and bytecode is created at the compile… Read More
This JavaFX library is used to make feature-rich internet apps (they offer similar experience and features as that of desktop apps). Like other Java libraries,… Read More
A splash screen is mostly the first screen of the app when it is opened. It is a constant screen which appears for a specific… Read More
Given an array of integers arr[], find the number of recycled pairs in the array. A recycled pair of two numbers {a, b} has the… Read More
Given an array of jobs where every job has a deadline and associated profit (if the job is finished before the deadline). It is also… Read More
Iterators are used in Collection framework in Java to retrieve elements one by one. For more details and introduction related to this, see this link.… Read More
The java.util.ArrayDeque.toArray() method is used to form an array of the same elements as that of the Deque. Basically, the method copies all the element… Read More