At Westonci.ca, we connect you with the best answers from a community of experienced and knowledgeable individuals. Discover detailed answers to your questions from a wide network of experts on our comprehensive Q&A platform. Get quick and reliable solutions to your questions from a community of experienced experts on our platform.

What is the output of this Java program?
class Driver {
public static void main(String[] args) {
int a = 4;
int b = a + 10;
while (a < b) {
a = a + 2;
b = b - 2;
}
System.out.print(a + b);
}
}