Professional Documents
Culture Documents
Test: Jfo Section 3 Quiz 1 - L1-L2
Test: Jfo Section 3 Quiz 1 - L1-L2
6. Assuming x is an int, which of the following are ways to increment the value of x by 1? Mark for Review
(1) Points
x = x +1; (*)
x = +1;
x+;
x++; (*)
x += 1; (*)
Correct
(1) Points
+ (*)
– (*)
#
@
Correct
(1) Points
const
final (*)
static
break
Correct
(1) Points
int abc = 10;
Correct
https://myacademy.oracle.com/player/play?in_sessionid=28539411210A51AJ&classroom_id=74941475 1/2
4/25/2021 JFo Section 3 Quiz 1 - L1-L2
10. Java is a strongly typed language; therefore you must declare a data type for all variables. Mark for Review
(1) Points
True (*)
False
Correct
https://myacademy.oracle.com/player/play?in_sessionid=28539411210A51AJ&classroom_id=74941475 2/2