Skip to content

Category Archives: Java Programs

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
In this article, we will discuss how to scan all mp3 files and not only from a specific path for an android media player. We… Read More
In this article, via a Gradle project, let us see how to validate a sample application and show the output in the browser. The application… Read More
JSON is nothing but Javascript Object Notation. It is a text format to store the data as well as transport the data. Usually, it will… Read More
In primitive casting, we can convert the byte data type information into the integer data type information by using implicit typecasting. When we try to convert… Read More
Prerequisite: Socket Programming in Java First, we understand the basics of java socket programming. Java Socket is used to communicate between two different JREs. Java… Read More

Start Your Coding Journey Now!