Understanding the NoneType object in Python

By GAURAV KUMAR SINGH

Just like other programming languages like C, C++, and Java, Python also has null objects and variables. If you have heard about C or Java, you would have also heard about the null.... Read More

How to merge two maps in C++

By Aastha Jain

In this tutorial, we will discuss How to merge two maps in C++ easily. So before implementing let’s understand the approach that we are going to use. 1) Header file:- The fir.... Read More

Python String endswith() Method

By Harish Mullagura

We will discuss how to check if the string ends with the specified value. If it ends with the given value, we return true else false. By using endswith() Method, we can know if a g.... Read More

How to declare and assign Derived classes in C++

By Bhargav

In this tutorial, we will see how to declare the derived classes from the Base class in C++. To make this more clear and understandable, first, let us know more about the base clas.... Read More

How to remove empty elements from an array in JavaScript

By Manoj Srinivas

In this tutorial, we will learn how to remove empty elements from an array in JavaScript. To remove unnecessary elements from the array, we’ll use the filter() method. Filter.... Read More

How to make a JButton unclickable after clicking on it in Java

By Shiksha Sinha

In this tutorial, we will learn how to make a JButton unclickable after clicking on it in Java. There are many ways in which a java button can be made unclickable. Here we will lea.... Read More

How to add audio on JSwing in Java

By Shiksha Sinha

In this tutorial, we will learn how to add audio on JSwing in Java. We can add audio to our JSwing in many ways. In this tutorial, we will do it in an easy way i.e.by making a clas.... Read More

How to round float numbers in JavaScript

By Manoj Srinivas

In this tutorial, we will learn how to round float numbers in JavaScript. Rounding float numbers in JavaScript Variables used in code x – float number. type Number(js) let x .... Read More