Skip to content

Category Archives: Java Programs

The article demonstrates how to extract paragraphs from a word document using the getParagraphs() method of XWPFDocument class provided by the Apache POI package. Apache… Read More
If we have a char value like ‘G’ and we want to convert it into an equivalent String like “G” then we can do this… Read More
Problem statement: We need to find and print unique pairs among all given pairs. Generally, if we have to find the unique numbers among all… Read More
Multithreading feature of java is the feature around which the concept revolves as it allows concurrent execution of two or more parts of a program… Read More
Given two linked lists, your task is to complete the function make union(), which returns the union of two linked lists. This union should include… Read More
In java, there exists a very important keyword known as super() keyword in java which is widely used in java being object-oriented and hence inheritence… Read More
JSON is commonly used in order to exchange data to and back fro from a  web server. The key point here is when we are… Read More
Here we will discuss how we can write effective codes with the help of loops. It is a general perception that the approach using loops… Read More
Java makes it possible to add images to Word documents using the addPicture() method of XWPFRun class provided by Apache POI package. Apache POI is… Read More
The Vector class implements a growable array of objects. Vectors basically fall in legacy classes but now it is fully compatible with collections. It is… Read More
The Vector class implements a growable array of objects. Vectors basically fall in legacy classes but now it is fully compatible with collections. It is… Read More
Java language is one of the most popular languages for many years. One of the most advantageous features of java programming is Multithreading. Multithreading allows… Read More
Take as input N, an odd number (>=5). Print the following pattern as given below for N = 7. Here the input format is the… Read More
There are 2 methods to take input from the user which are separated by space which are as follows: Using BufferedReader Class and then splitting… Read More
  A Binomial Heap is a set of Binomial Trees where each Binomial Tree follows Min Heap property. And there can be at most one… Read More