Java Program to Shutdown Computer

By: Editorial Staff | Last Updated: | In: Java Tutorial


In this post, I will explain about a Java program to shutdown computer. This is a very basic program in Java programming language. If you are Java beginners or want to start learning Java programming language, then this program will help you to understand the basic Java programming. Java Program to Shutdown Computer Before executing …

Java Program to Generate Random Numbers

By: Editorial Staff | Last Updated: | In: Java Tutorial


In this post, I will explain about a Java program to generate random numbers with an example and program output. This is a very basic program in Java programming language. If you are Java beginners or want to start learning Java programming language, then this program will help you to understand the basic Java programming. …

Java Program to Divide Any Two Numbers

By: Editorial Staff | Last Updated: | In: Java Tutorial


In this post, I will explain about a Java program to divide any two numbers with an example and program output. This is a very basic program in Java programming language. If you are Java beginners or want to start learning Java programming language, then this program will help you to understand the basic Java …

Java Program to Multiply Any Two Numbers

By: Editorial Staff | Last Updated: | In: Java Tutorial


In this post, I will explain about a Java program to Multiply any two numbers with an example and program output. This is a very basic program in Java programming language. If you are Java beginners or want to start learning Java programming language, then this program will help you to understand the basic Java …

Linear Search Program in Java

By: Editorial Staff | Last Updated: | In: Java Tutorial


In this tutorial, we will share a java program to sort the elements of an array using the Linear Search algorithm. Linear Search algorithm is the simplest searching algorithm. In the linear search algorithm, each element of an array is compared with the next element sequentially. Copy the below java program and execute it with …

Selection Sort Program in Java

By: Editorial Staff | Last Updated: | In: Java Tutorial


In this tutorial, we will share a java program to sort the elements of an array using the Selection sort algorithm. Selection sort algorithm is the simplest sorting algorithm. In this Selection Sort program, we search the lowest element in an array and arrange them to the proper place and then swap the current element …

Bubble Sort Program in Java

By: Editorial Staff | Last Updated: | In: Java Tutorial


In this tutorial, we will share a java program to sort the elements of an array using the bubble sort algorithm. Bubble sort algorithm is the simplest sorting algorithm. In this program, we traversed the first element of the array to the last element. We compare the current element with the next element if the …

Java Program to Get IP Address

By: Editorial Staff | Last Updated: | In: Java Tutorial


This is simple Java program to print the IP address of your computer. If you want to get the IP address of your machine, then keep your close attention in this tutorial as we are going to share a Java Program to Get IP Address with an example and output. Java Program to Get IP …

Insertion Sort Program in C

By: Editorial Staff | Last Updated: | In: C Programming Tutorial


In this tutorial, we will describe the Insertion Sort program in c programming language. Insertion Sort works in the way we sort the playing cards in our hands. The Insertion Sort algorithm is used to re-arrange the elements of an array in ascending order. Insertion Sort Program in C Programming Language Copy the below c …

Function Overriding in PHP

By: Prem Tiwari | Last Updated: | In: PHP Tutorials


The function overriding is only pertinent to derived classes, where the parent class has defined a method and the derived class wishes to override that method. In this tutorial, We will explain about the function overriding in PHP. Below is an example of function overriding in PHP. In the below example, we are overriding the …