Skip to content

Category Archives: Java

The Java language support thread synchronization through the use of monitors. A monitor is associated with a specific data item and functions as a lock… Read More
Access modifiers are those elements in code that determine the scope for that variable. As we know there are three access modifiers available namely public,… Read More
In this article, we are going to implement the strike-through feature on our TextView using this method. This can be useful when we want to… Read More
In this article, we are going to send an image from one activity to another. We will be using putExtra to send image and we… Read More
Many apps display so many amounts of data in the form of a list. This data is so much so that it cannot be loaded… Read More
Many news applications use the Expandable type of view for displaying the news along with the categories. This type of feature will help to make… Read More
Local Broadcast Manager is one of the most important features which is seen in most of the applications which we used. This feature generally works… Read More
Collection means a set of different classes and interfaces are group together into a single unit that has similar functions are called collection and framework… Read More
Executors Manage thread execution. At the top of the executor, hierarchy is the Executor interface, which is used to initiate a thread. ExecutorService Extends Executor… Read More
In order to tile the pages, we are going to use the iText open-source library here because iText is a world-leading F/OSS PDF library. For… Read More
In the Java programming language, we need some classes to crop an image. So these classes are as follows: 1. To read and write an… Read More
Special characters are those characters that are neither a letter nor a number. Whitespace is also not considered a special character. Examples of special characters… Read More
Factorial of a number n is defined as a product of all positive descending integers, Factorial of n is denoted by n!. Factorial can be… Read More
Java program to print all unique words present in the string. The task is to print all words occurring only once in the string. Illustration:Attention… Read More
The Baillie PSW Primality testing is generally a probabilistic primality testing Algorithm that tries to define whether a given number is composite or a probable… Read More