Skip to content

Category Archives: Java Programs

In Java, LinkedList is a part of the collection framework provided in java.util package. LinkedList is a linear data structure where all the elements are… Read More
Screen resolution can be obtained through a Java program by using Toolkit.getScreenSize() method. getScreenSize() is a method of the java Toolkit class of java.awt package.… Read More
Thread is a lightweight process. A process in execution is called a program. A subpart of a program is called a thread. Threads allow a… Read More
Apache POI is a powerful API that enables the user to create, manipulate, and display various file formats based on Microsoft Office using Java programs.… Read More
A trapezium is a convex quadrilateral, which has only two parallel sides and the other two sides are non-parallel. The non-parallel sides of the trapezium… Read More
To create a Java List containing n Copies of a specified Object, nCopies() method of java.util.Collections class can be used. The nCopies() method takes two… Read More
A List is an ordered sequence of elements stored together to form a collection. A list is a structure to perform both positional access and… Read More
Comparable interface is found in java.lang package which is used to order the objects of a user-defined class on the basis of a single attribute… Read More
The OpenCV library in Java contains a class named Imgproc which provides various methods such as resize(), wrapAffine( ), filter2D to process an input image.… Read More
Vector implements a dynamic array that means it can grow or shrink as required. Like an array, it contains components that can be accessed using… Read More
A Linked  List is a linear data structure, in which the elements are not stored at contiguous memory locations. The elements are linked using pointers… Read More
ArrayList is a part of collection framework and is present in java.util package. It provides us with dynamic arrays in Java just as Vector in… Read More
Java Database Connectivity is basically a standard API(application interface) between the java programming language and various databases like Oracle, SQL, Postgress, SQL, etc. It connects… Read More
iText is a Java library developed, to access and manipulate PDF files, that is to extract and modify the PDF content. iText is a Java… Read More
A parallelogram is a special type of quadrilateral that has equal and parallel opposite sides. The diagonals of a parallelogram bisect each other at 90… Read More

Start Your Coding Journey Now!