## Java Program to find Simple Interest

Java program to find the Simple Interest : In this program, we will learn how to find the simple interest using Java. To calculate simple interest, we need principal amount, rate of interest and time in year. After that , Read more…

## Java program to get inputs from user using Scanner Class

Java program to get inputs from user : In this example , we will see how to get inputs from a user. We will use the ‘Scanner’ class to get the inputs. We will scan one String, one int and Read more…

## Write a Java Program to get all the permutation of a string

Java program to get the all permutation of a string : In this tutorial, we will learn how to print all the permutation of a string . We are going to use recursive approach to print all the permutations   Read more…

## Java Program to find the last non repeating character of a string

Java program to find the last non repeating character of a String : This program is to find the last non repeating character of a string. To solve this problem , we are going to use extra space, i.e. extra Read more…

## Java program to find the kth smallest number in an unsorted array

Java program to find the kth smallest number in an unsorted array : This tutorial is to find the kth smallest element of an integer array ( unsorted ). To find kth smallest array, we can simply sort the array Read more…

## Java program to print a square using any character

Java program to print a square using a character : This tutorial is on how to print a square like below using any character in Java : & & & & & & & & & & & & & Read more…

## Java program to print a rectangle using any special character

Java tutorial program to print a rectangle using special character like star, dollar etc : In this tutorial, we will learn how to print a rectangle in Java using any special character . For example take the below rectangle : Read more…

## Java Program to reverse a number

Java program to reverse a number : In this tutorial ,we will learn how to reverse a number in Java. First we will take the number as input from the user, then convert it to a string and reverse it Read more…

## Java program to find Permutation and Combination ( nPr and nCr )

Java program to find Permutation and Combination ( nPr and nCr ) of two numbers : In this example, we will learn how to find permutation and combination of two numbers. Permutation is denoted as nPr and combination is denoted Read more…

## Java Program to Multiply Two Matrices

Java Program to Multiply two matrices : In this Java example, we will learn how to write a program to multiply two matrices. First we will take inputs of both the matrices from the user. Then we will multiply both Read more…