A three-digit number is called an Armstrong number if the sum of cube of its digits is equal to the number itself.For example, 407 is an Armstrong number since` 4****3 + 0****3 + 7****3 = 64 + 0 + 343 = 407`.
ReadIn this tutorial, we will learn how to find the Screen resolution of your system. We will use 'java.awt' package to calculate the values.
ReadJava program to find the most frequent element in an Array. This post will show you how to get the number that occurs most of the time in an array.
ReadOne array is given with unsorted numbers. Find the total number of pairs of numbers, the sum of which is equal to a given value.
ReadStringJoiner class was introduced in Java8 . Using this class, we can join a number of different strings easily. Two different constructs are available for StringJoiner to instantiate it.
ReadJava program to find all strong numbers in a given range. This Java program will print all strong numbers from 1 to a given range.
ReadJava program to find the closest number to a given number without a given digit. It will take the number and the digit as input from the user and print the closest number.
ReadFind the number of vowels and digits in a string in Java. This program will take one string as input from the user and print the number of vowels and digits in that string.
ReadHow to iterate through a list in Java from both direction using Listiterator. This post will show you how to do that with an example.
ReadPython program to sort all words of a string in alphabetical order. This python program will take one string as input and sort all words of that string alphabetically.
Read