import java.util.*;
import java.lang.*;
import java.io.*;

// The main method must be in a class named "Main".
class Main {
    public static void main(String[] args) {
        System.out.println("Hello world!");
   
       int []arr ={45,67,77,88,66,98};
       int arrlen = arr.length;
       
       int a=0;
       while (a<arrlen)
   
  {
       System.out.println("ok");
      
      
   
  }
   
   
   
  
int aq[]={1,2,5,6,3,2};  
int b[]={44,66,99,77,33,22,55};  
System.out.println("Largest: "+getLargest(aq,6));  
System.out.println("Largest: "+getLargest(b,7));  
   
    }
}

Embed on website

To embed this program on your website, copy the following code and paste it into your website's HTML: