Shiva Keerthi has Published 16 Articles

Java Program to Get System Motherboard Serial Number for Windows and Linux Machine

Shiva Keerthi

Shiva Keerthi

Updated on 24-Jun-2024 17:22:24

1K+ Views

Motherboard Serial Number is an id assigned to the motherboard of a computer. It is generally used to track the computer system and also to identify when the system is lost or stolen. In this section, we will be discussing different approaches to find the Motherboard Serial Number for Windows ... Read More

Java Program to Get First or Last Elements from HashSet

Shiva Keerthi

Shiva Keerthi

Updated on 24-Jun-2024 15:06:22

4K+ Views

In Java, HashSet is a class which implements Set Interface. HashSet is a collection of unique elements which doesn’t store or allow us to store duplicate elements. In this section, we will be discussing about different approaches in java to find the first element and last element of a HashSet ... Read More

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

Shiva Keerthi

Shiva Keerthi

Updated on 31-May-2024 16:30:49

8K+ 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 Get Year from Date

Shiva Keerthi

Shiva Keerthi

Updated on 11-Apr-2023 14:15:57

4K+ Views

In our day to day life, there is a huge data being generated in this real world. Among the information generated, Dates are generally used for various things such as scheduling an appointment, planning for day-to-day activities. While working with dates in programming, extracting the year from a specific date ... 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

4K+ 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

235 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