Expand your knowledge base with the help of IDNLearn.com's extensive answer archive. Get accurate and comprehensive answers to your questions from our community of knowledgeable professionals.

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);
}
}