Find Smallest Number in an Array Using Java

By: Prem Tiwari | Last Updated: | In: Java Programming


In this java program, I will share Java program to find the smallest number in an Array with an example. We have sorted the given array in ascending order and returning the first element. See …

Prime Number Program in Java

By: Prem Tiwari | Last Updated: | In: Java Programming


This is a simple Java program to find the prime number. A prime number is a number which is greater than 1 and only divisible by 1 or itself. Following is the first 10 prime …

Hello World Script in JavaScript

By: Prem Tiwari | Last Updated: | In: Code Snippets


In this tutorial, I am going to share a basic JavaScript script to print the Hello World! JavaScript is a platform-independent script. Below is the exmple to display an alert message when you run this …