Looking for answers? Westonci.ca is your go-to Q&A platform, offering quick, trustworthy responses from a community of experts. Discover in-depth solutions to your questions from a wide range of experts on our user-friendly Q&A platform. Discover in-depth answers to your questions from a wide network of professionals on our user-friendly Q&A 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);
}
}