Posts from Java

Sudoku Solver in Java

By Sahil Singh

In this article, we will be looking at an algorithm of Sudoku Solver that can solve the sudoku using Java program. Since Sudoku is a very popular game often found in the daily news.... Read More

Method Signature in Java with example

By Sahil Singh

In this article, we are going to learn about the method Signature in Java. As we all know, Java is used for various applications due to its vast number of flexible modules, let us .... Read More

Multicatch in Java with example

By DEEP GANDHECHA

In this tutorial, I’ll show how to use multicatch in Java. Let’s get started. Java Multicatch block When we execute java code, There is a chance that different errors can occur.... Read More

TreeMap put() and putAll() methods in Java

By Shradha Jadhav

We will study about put() and putAll() methods in Java, in the present tutorial. Both put() and putAll() methods belongs to TreeMap class, which is an implementation class of Navig.... Read More

Find the first repeated character in a string in Java

By Siddharth Raja

In this tutorial, we are going to write a program to find the first repeated character in a string in Java. In this problem, we need to find the first character that is repeated an.... Read More

How we can insert a string into another string in Java

By Siddharth Raja

In this tutorial, we will see a program to insert a string into another string in Java. Consider the user enters two strings and an index value, we need to insert the second string.... Read More

Rounding off errors in Java

By Shradha Jadhav

In the given tutorial, we are going to learn how to round off errors in Java. In Java, most programs store the result of integer computations in 32 or 64 bits. Several calculations.... Read More

Iterator vs Foreach in Java

By Shradha Jadhav

In the given tutorial, Iterator verses for each loop is explained neatly. Iterator : Iterator belongs to java.util package, which is an interface and also a cursor. Cursors are use.... Read More