java

Java Arrays sort method explanation with example

Java Arrays sort method is used to sort the contents of an array in a given order in a given range. This post will show you how to use Arrays.sort method with examples.

Read
java

Java Arrays hashCode() method explanation with examples

Learn how to use Java Arrays hashCode method with different examples. hashCode method is used to get the hash code of an array in Java. It returns the hash code based on the array contents.

Read
python

Python rstrip() method explanation with example

Python string rstrip method is used to delete trailing whitespaces or any other trailing characters from a string. This post will show you how to use rstrip method with examples.

Read
python

Python string lstrip() method explanation with example

Python string lstrip method is used to delete leading whitespaces or any other leading characters from a string. This post will show you how to use lstrip method with examples.

Read
python

Python program to convert a hexadecimal value to decimal

Python program to convert a hexadecimal or hex value to decimal. We will learn two different ways to convert a hexadecimal number to decimal in this post.

Read
python

4 ways to find the average of 10 numbers in Python

Python program to find the average value of 10 different numbers. We will learn 4 different ways to find the average of numbers in Python.

Read
python

How to delete all files in a folder older than n days using Python

Learn how to delete all files in a folder older than n days using Python. We will learn two different ways to do this.

Read
java

Java Program to check if a number is a magic number or not

Java Program to check if a number is magic number or not. This program will take one user input number and print one message that it is a magic number or not.

Read
java

Java Arrays toString method explanation with example

Java Arrays toString method explanation with examples. Arrays toString method can be used to convert an array to a string. Learn how to use toString method with different examples.

Read
java

java.util.Arrays.fill method explanation with examples

Java Arrays fill method explanation with examples. Arrays fill method can be used to fill an array with some specific value. This post will show you how to use fill with different examples.

Read