Implement polling in Java with poll() method

By Krishna Lakhi

Hey Everyone! In this article, we will learn how to implement polling with the help of poll() method java.util.Queue package in Java. First, let us study the Queue interface presen.... Read More

Track the occurrences of a character in a string in Python

By Ria Sehgal

In Python, A string is a collection of characters enclosed in single (‘ ‘) or double (” “) quotes. This article is written to emphasize the Number of occurr.... Read More

StringBuffer class in Java

By Anubhav Srivastava

In this tutorial, we are going to discuss a Java class known as StringBuffer that is much similar to String class. There are many functions in StringBuffer that are similar to the .... Read More

How to Fill area with color in matplotlib with Python

By Sachin Rastogi

In this article, we are going to learn how to fill the area of any figure with color in matplotlib using Python. For this, we need some basic concept of two popular modules of Pyth.... Read More

How to convert Uppercase String to Lowercase in Java

By Anubhav Srivastava

Hi coders! In this tutorial, we are going to see String class of Java. Our task is to convert uppercase String to lowercase in Java, for this we are going to use the StringBuffer c.... Read More

Replace each element of array by multiplication of previous and next in C++

By Alok Singh

From the title of the problem, it is clear that for a given array, we have to Replace each element by multiplication of previous and next element. Means for each index number i, .... Read More

Break and Continue in C++

By Animisha Dalal

In this tutorial, we will learn about break and continue in C++. Break and continue in C++ While writing some programs, there arise certain conditions where we would like to pass t.... Read More

Augmented assignment in Python

By Jitendra Kumar

In this tutorial, we will learn about the AUGMENTED ASSIGNMENT in Python language. Basically when we discuss the assignment operator in Python that is nothing but an equal (=) sig.... Read More