An introduction to jsx in reactjs

An introduction to jsx in reactjs. JSX stands for JavaScript xml. It is used to add XML to javascript code and we can use it to write HTML in a React project.

Read

Python program to remove the first n characters from a string

python program to remove the first n characters from a string. We will solve it by using slicing or by using lstrip. The program will take one string and remove the first n characters.

Read

How to add pull to refresh/ swipe refresh in an Android project in Kotlin

Learn how to add pull to refresh or swipe refresh layout in Android using kotlin. We will create one sample android project with pull to refresh or swipe refresh layout.

Read

What is static method shadowing in Java

Method shadowing comes up when we have methods with same name and parameters in both super class and sub class. This post will show you what is static method shadowing works in java.

Read

How to use rjust() method in python to right justified a string

Python rjust method explanation with example. You will learn how to use rjust method to right justified a string with or without any fill character.

Read

How to remove the last n characters of a string in python

Python program to remove the last n characters of a string. We will learn two different ways to remove the last n string characters in python.

Read

How to delete an item from a recyclerview in Android(Kotlin)

Learn how to delete an item from recyclerview in kotlin. We will create one delete button to delete one item from the recyclerview. You will learn how to delete and refresh a recyclerview.

Read

2 different JavaScript program to remove last n characters from a string

JavaScript program to remove the last n characters from a string. We will learn two different ways to solve this. We will solve it by using slice() and substring().

Read

2 different JavaScript methods to remove first n characters from a string

JavaScript program to remove the first n characters from a string. We will use slice and substring methods to remove the first n characters from a string.

Read

C++ array::fill() STL, standard template library explanation with example

C++ array::fill() method explanation with example. This is a STL function and we can use it to set one value to all members of an array. We can use it to fill all elements of an array with a specific value.

Read