- Home
- Course Category
- Course Result
- Course Detail
Hot Line: 0124-2383121
Course Introduction
Includes
Certificate & Practice Material
Programs for practice
In the program below, we've introduced beginers to programming in java
Source Code: Program to find maximum element in array
# Program to find largest element in array public class LargestElementInArray { public static void main(String[] args) { int [] arr = new int [10] ; System.out.println("Enter the elements of the array: "); for(int i=0; imax) max = arr[i]; } System.out.println("Largest element present in given array: " + max); } } Output
Run the program to see the OUTPUT