What is the output of the following program?
public class Locks implements Runnable {
public void run() {
int i = 0;;
while (i < 2) {
System.out.print("Hai");
i++;
}
}
public static void main(String... h) {
Locks locks = new Locks();
locks.start();
}
}