Shiva Keerthi has Published 32 Articles

Java Program to Find Area of Square Using Method Overloading

Shiva Keerthi

Shiva Keerthi

Updated on 11-Apr-2023 12:47:11

1K+ Views

We can calculate the area of the square in Java using Method Overloading. “Method Overloading” is a feature in Java that allows one to write more than one method in the same class using the same method name. It will enable us to declare more than one method with the ... Read More

Java Program to Find Harmonic Series

Shiva Keerthi

Shiva Keerthi

Updated on 10-Apr-2023 18:24:51

540 Views

The reciprocals of an arithmetic series without considering 0 is known as Harmonic series. If $a_{1}, a_{2}, a_{3}$… is arithmetic series then $\frac{1}{a1}$, $\frac{1}{a2}$, $\frac{1}{a3}$, … is the harmonic series. In this article, we will discuss how to implement a java program to find the harmonic series. Harmonic Series For ... Read More

Java Program to Find Sum of Natural Numbers Using While Loop

Shiva Keerthi

Shiva Keerthi

Updated on 10-Apr-2023 16:47:00

340 Views

Sum of Natural Numbers can be calculated using different Iterative Statements in Programming Languages. Iterative Statements are statements which execute a particular set of code lines until the condition in the loop statement is failed. In this article, we will discuss how to calculate Sum of Natural Numbers using a ... Read More

Java Program to find Square Root of a number using Binary Search

Shiva Keerthi

Shiva Keerthi

Updated on 10-Apr-2023 16:45:00

1K+ Views

Square Root of a number is an integer value when multiplied by itself, gives the original number. In this article, we are going to write a java program to find the square root of a number using binary search. Finding square root of a number is one of the application ... Read More

Java Program to Find out the Area and Perimeter of Rectangle using Class Concept

Shiva Keerthi

Shiva Keerthi

Updated on 10-Apr-2023 16:43:42

3K+ Views

Java Language is one of the most used popular object - oriented programming language in present world. Class concept is one of the most important feature in Object - oriented languages. A Class is a like a blue print of an object. For example, when we want to build ... Read More

Java Program to Find Maximum Odd Number in Array Using Stream and Filter

Shiva Keerthi

Shiva Keerthi

Updated on 10-Apr-2023 16:40:22

859 Views

In this section, we are going to write a Java Program to Find Maximum Odd Number in an Array Using Stream and Filter. Odd numbers are the numbers which cannot be divided by ‘2’ or these numbers give remainder as 1 when they are divided by ‘2’. In other terms ... Read More

Java Program to Find Common Elements Between Two Arrays

Shiva Keerthi

Shiva Keerthi

Updated on 10-Apr-2023 16:22:33

5K+ Views

We can use different approaches in Java to Find Common Elements between two arrays. We will discuss the approaches, including the basic steps involved, and provide the necessary code to achieve our goal. Whether you are a beginner or an experienced Java programmer, this article will provide you with the ... Read More

Java Program to Find Area of Rectangle Using Method Overloading

Shiva Keerthi

Shiva Keerthi

Updated on 10-Apr-2023 16:21:05

1K+ Views

We can calculate the area of the rectangle in Java using Method Overloading. “Method Overloading” is a feature in Java that allows one to write more than one method in the same class using the same method name. It will enable us to declare more than one method with the ... Read More

Java Program to Find G.C.D and L.C.M of Two Numbers Using Euclid's Algorithm

Shiva Keerthi

Shiva Keerthi

Updated on 10-Apr-2023 16:20:17

1K+ Views

Euclid’s Algorithm is an efficient algorithm which helps us to find G.C.D and L.C.M of two numbers. In this article, we are learning to write a Java program to find the G.C.D and L.C.M of two numbers using Euclid’s Algorithm. G.C.D. of two numbers G. C. D, known as ... Read More

Java Program to Find Chromatic Index of Cyclic Graphs

Shiva Keerthi

Shiva Keerthi

Updated on 10-Apr-2023 16:19:02

114 Views

Chromatic Index of a graph is the parameter which indicates the minimum number of colours needed to colour all the edges of graph such that no two edges sharing the common vertex have same coloured edge. In this article, we will discuss how to find the chromatic index of cyclic ... Read More

Advertisements