Skip to content

Category Archives: Java

Whenever we are writing our classes we have to provide some information about our classes to the JVM like whether this class can be accessed… Read More
The problem statement is to rotate an image clockwise 90 degrees for which here we will be using some in-built methods of BufferedImage class and Color… Read More
 filter() method is used in functional programming as an intermediate method. A predicate is a non-interfering, stateless predicate to apply to each element to determine… Read More
We as humans tend to forget some small but important things, and to resolve this we try to write those things up and paste them… Read More
In this article, we are going to show the GravityView in android. In this article, we are going to see the gravity effect on an… Read More
In this article, we are going to set restrictions in our EditText for URL. Whenever we are creating any form and we want to get… Read More
In this article, we are going to see how to build an endless RecyclerView in Android Studio. It is mostly used to design the user… Read More
java.nio.file.FileSystems class acts as a factory for creating new file systems. This class provides methods for creating file systems. This file system act as factories… Read More
Regular Expressions or Regex (in short) is an API for defining String patterns that can be used for searching, manipulating, and editing a string in… Read More
ConcurrentModificationException has thrown by methods that have detected concurrent modification of an object when such modification is not permissible. If a thread modifies a collection… Read More
The access levels in a program can be introduced by the concept of Access Modifiers. Access Modifier in a java program is used to specify… Read More
Given a string containing n numbers of words. The task is to swap the corner words of the string and reverses all the middle characters… Read More
Given a string and a word that task to remove the word from the string if it exists otherwise return -1 as an output. For… Read More
Graph Coloring is the method to assign colors to certain elements of a graph. The most common method for this is the Vertex Coloring Method.… Read More
Given an integer array of unique elements, return all possible subsets (the power set). The solution set must not contain duplicate subsets and should return… Read More