how to add two matrix in java

For adding two matrix we have to follow some steps . Let’s see how we can add two matrix in java. First we have two matrix with same size of row and column , so we first take input of row and column. After getting number of row and column , we take input of […]

program to reverse a number in java

java program

in this post we will see how to write a program to reverse a number in java . After executing the above program you will get- How the above program works when we run the program the loop executes the statement in following steps- In first step the reminder of number (stored in n) stored […]

concatenate two strings in java using loop

in this post we will see how to write a program to concatenate two strings in java using loop. there are many ways to concatenate string. concatenate two string in java using Loop output string concatenation using concat() function output