Skip to content

Category Archives: Java Programs

Multithreading is a concept in which our program can do two or more tasks at the same time. Thread is the execution unit of any… Read More
Multithreading is a concept in which our program can do multiple tasks in a single unit of time. Thread is the execution unit of any… Read More
The Java util package has a queue interface that defines the queue interface which has methods defined for methods in a queue. The general implementation… Read More
The steepest descent method is an optimization algorithm that can be used to find the local minimum of a differentiable function. It is an iterative… Read More
MultiSet is a generalization of the concept of a set. Its main idea is to allow a member of a multiset to have zero, one,… Read More
Limiting the size of system log files is a common practice in Linux to ensure that the log files do not grow too large and… Read More
A Steiner tree is a tree that connects a subset of the vertices in a graph with the minimum total weight. It is often used… Read More
Prerequisite: HashMap in Java unordered_map in C++ In this article, we will be creating a simple java program to generate a unique number plate. for… Read More
Essay writing involves creating a written piece that effectively communicates ideas, thoughts, and arguments in a logical and coherent manner. It requires the ability to… Read More
In this article, we will find/extract an HTML tag from a string with help of regular expressions. The Regular Expression Regex or Rational Expression is… Read More
A clique is a subset of vertices of a graph such that every two distinct vertices in the clique are adjacent. Finding a clique from… Read More
Prerequisites: Java.lang.Thread class in Java MouseListener and MouseMotionListener in Java This is a simple Java code including the concept of Thread and Java AWT to… Read More
Many times, we need to perform operations where a stream reduces to a single resultant value, for example, maximum, minimum, sum, product, etc. Reducing is… Read More
Java provides different ways to generate random numbers, using some built-in methods and classes, but most of them do generate unique positive long numbers like… Read More
We will be going through some source code for a Java method that lets you copy texts to the clipboard of your operating system. Java… Read More

Start Your Coding Journey Now!