Java - Medium Articles
Given an array a[], integer K and an integer X (which is initially initialized to 0). Our task is to find the minimum number of… Read More
Bean Scopes refers to the lifecycle of Bean that means when the object of Bean will be instantiated, how long does that object live, and… Read More
Object Compression is the process of reducing the size of the object with the help of various classes and methods. The receiver then retrieves full… Read More
In this article, we will learn about how to add SoundPool class in android. A collection of audio samples can be loaded into memory from… Read More
In this article, we will learn about how to add TabLayout with ViewPager in an app. TabLayout provides a horizontal layout to display tabs. If… Read More
Given a string str of length L, the task is to find the first occurrence of a non-repeating character in the string. Examples: Input: str… Read More
The ExecutorService interface extends Executor by adding methods that help manage and control the execution of threads. It is defined in java.util.concurrent package. It defines… Read More
In this layout, we will learn to add Slidr Library in android. This library is used to create attractive animation when user switch from one… Read More
Introduced in Java 8, the Stream API is used to process collections of objects. A stream is a sequence of objects that supports various methods… Read More
The world has changed into a mobile-first era but even today, none of the applications could emerge as effective as the web-based apps. Surfacing on… Read More
Do you ever wonder about the sudden emergence and popularity of Blockchain? What is it? Well, Blockchain is literally a chain of blocks as the… Read More
Prerequisites: Classes and Objects in Java, Switch Case statement in Java Problem Statement: Write a program to build a simple application for the bus travelling… Read More
The Scanner class in java.util package used for obtaining the input of the primitive types like int, double, etc. and strings. It is the easiest… Read More
Prerequisites: MVC Design Pattern, Spring MVC with JSP ViewSpring MVC framework enables separation of modules namely Model, View and Controller and seamlessly handles the application… Read More
Java IO(Input/Output) is used to perform read and write operations. The java.io package contains all the classes required for input and output operation. Whereas, Java… Read More
When you publish your app on google play store it is important to get feedback from the user. Unless the user does not love or… Read More
IntelliJ is an integrated development environment(IDE) written in Java . It is used for developing computer software. This IDE is developed by Jetbrains and is… Read More
A TextSwitcher is used to animate a text on a screen. It is the child class of the ViewSwitcher class. It contains only one child… Read More
Snackbar provides lightweight feedback about an operation. The message appears at the bottom of the screen on mobile and lower left on larger devices. Snackbar… Read More
A Toast is a feedback message. It takes very little space for displaying and it is displayed on top of the main content of an… Read More