Posts by Akash Tripathi

Author Biographical Info: I am a Computer Science Engineering Undergraduate, who loves coding and developing web applications.
I always try myself to keep myself updated with the latest technologies, which my quick learning ability helps me to do it easily.

By Akash Tripathi

Hello Coders, today we will see how to overload methods in Java. But before that let’s see what actually is method overloading and then we will see the example in Java langua.... Read More

#### Printing Table of a Particular Number in Java

By Akash Tripathi

Today we will see how to print the table of a particular number in Java. This program basically deals with output formatting, that is, getting output in the format “5 x 1 =5&.... Read More

#### Check if a number is special or not in Java

By Akash Tripathi

Today we will how to check whether a number is a Special number or not in Java. But before that, we should know what is a special number. A special number is a number such that the.... Read More

#### Count the prime numbers in a certain range in Java

By Akash Tripathi

Hey folks, today we will see how to count the prime numbers in a certain range in Java. For this purpose, we won’t be using any predefined methods and will code the logic fro.... Read More

#### Java program to find maximum and minimum element in an Array

By Akash Tripathi

Today we will see how to find the maximum and minimum element in an array in Java. For this purpose, we will use two variables max and min and then compare them with each element a.... Read More

#### Sum of principal diagonal of a Matrix in Java

By Akash Tripathi

Hello coders, today we will see how to find the sum of principal diagonal in a matrix in Java. A matrix is nothing but a 2D array, and since we need to work with diagonal therefore.... Read More

#### Sum of secondary diagonal of a matrix in Java

By Akash Tripathi

In the last tutorial, we learned about the sum of the principal diagonal of a matrix, in this tutorial we will see how to find the sum of the secondary diagonal of a matrix in Java.... Read More

#### Occurrence of a particular element in an Array – Java

By Akash Tripathi

Today we will see how to count the number of occurrences of a particular element in an Array in Java. Example: If the array is :  10   15   17   19   19    15    10  .... Read More