Question: Question 31 What is the output of this Java program? A class Driver { public static void main(String[] args) { int a = 2; int
![class Driver { public static void main(String[] args) { int a =](https://dsd5zvtm8ll6.cloudfront.net/si.experts.images/questions/2024/09/66f3b7ec43eb3_36366f3b7ebd55b2.jpg)

Question 31 What is the output of this Java program? A class Driver { public static void main(String[] args) { int a = 2; int b- 7; for (int C-0; c } 012345629 0123456722 123456729 none of these O 0123456729 O 012345623 123456722 Question 30 What is the output of this Java program? class Driver public static void main(String[] args) { int a = 1; int b = 8; while (a. 2 8 none of these 3
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
