Question: What will be the output of this code? int a = 7 + 2; int b = a - 2; a = b* 3;

  

What will be the output of this code? int a = 7 + 2; int b = a - 2; a = b* 3; int a * x = b; System.out.print(x);

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Objective To find the output of the given code The given code is int a 7 2 int ba 2 a b 3 int x ... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!