Java Notes
'if' Exercise 1
Name: _________________________________
Part I
What is the value of the variable n after the code in these questions? For these questions assume.
int n = 0; int j = 7;
|
|
Part II
What would be the value of n assuming the following initial values for each of the above problems?
int n = 5; int j = 4;
- __________
- __________
- __________
- __________
- __________
- __________