Java program to calculate power of a number

Posted by Webmentor | Updated on | in Java Programming.


We are going to share a java program to calculate power of a number. If you are a Java beginner and want to start learning the Java programming, then keep your close attention in this …

How to remove duplicate characters from String in Java?

Posted by Webmentor | Updated on | in Java Programming.


In this tutorial, we are sharing how to remove duplicate characters from String in Java. For example, if given String is “aaaaaa” then output should be “a”, because rest of  the “a” are duplicates. Similarly, …

Fibonacci Series in Java Without Recursion

Posted by Webmentor | Updated on | in Java Programming.


What is Fibonacci Series ? In mathematics, the Fibonacci numbers, commonly denoted Fₙ form a sequence, called the Fibonacci sequence, such that each number is the sum of the two preceding ones, starting from 0 …

Iterate value through Java HashMap

Posted by Webmentor | Updated on | in Java Programming.


Iterate through the values of Java HashMap example. This Java Example shows how to iterate through the values contained in the HashMap object. In this tutorial, we are sharing an example of Iterate value through …

Java program to remove punctuation from a given string

Posted by Webmentor | Updated on | in Java Programming.


In this program, we are going to share a Java program to remove punctuation from a given string. If you are a Java beginner and want to start learning the Java programming, then keep your …

Java Program to Implement Fisher-Yates Algorithm for Array Shuffling

Posted by Webmentor | Updated on | in Java Programming.


We are going to share a Java program to implement fisher-yates algorithm for array shuffling. If you are a Java beginner and want to start learning the Java programming, then keep your close attention in …

Java Program to Implement Gauss Seidel Method

Posted by Webmentor | Updated on | in Java Programming.


We are going to share a Java program to implement Gauss Seidel method. If you are a Java beginner and want to start learning the Java programming, then keep your close attention in this tutorial …

Java Program to Implement Gauss Jordan Elimination

Posted by Webmentor | Updated on | in Java Programming.


We are going to share a java program to implement Gauss Jordan elimination. If you are a Java beginner and want to start learning the Java programming, then keep your close attention in this tutorial …

A Simple Merge based O(n) solution to find median of two sorted arrays

Posted by Webmentor | Updated on | in Java Programming.


In this program, we are going to share a simple merge based O(n) solution to find median of two sorted arrays. If you are a Java beginner and want to start learning the Java programming, …

Java program to count islands in boolean 2D matrix

Posted by Webmentor | Updated on | in Java Programming.


In this program, we are going to share a Java program to count islands in boolean 2D matrix. If you are a Java beginner and want to start learning the Java programming, then keep your …