Computer Science, asked by mukesh502563, 8 months ago

Determine the output of the following program.
public class PredictOutput1
{
public static void main(String args[])
مها
int a = 4, b = 2, c = 3;
System.out.println("Output 1: " + (a = b * c));
System.out.println("Output 2: " + (a = (b + c))):
}​

Answers

Answered by da4729204
2

Answer:

it will output as follows :

6

5

the program has syntax error you have given colon instead of a semicolon at line 6

Similar questions