Arithmetic Operators QuizJ8 Home « Arithmetic Operators Quiz
Fundamentals Quiz 6
The quiz below tests your knowledge of the material learnt in Fundamentals - Lesson 7 - Arithmetic Operators.
Question 1 : What values do
a
and b
hold after the following expressions?int a = 5; int b = 10; b = a++;
- a = 6 and b = 5 as the the postfix increment is applied after the expression is evaluated.
Quiz Progress Bar
Quiz 1
Code Structure & Syntax
Quiz 2
Java Variables
Quiz 3
Primitives - boolean
& char
data types
Quiz 4
Primitives - Numeric data types
Quiz 5
Method Scope
Quiz 7
Relational & Logical Operators
Quiz 8
Assignment Operators
Quiz 9
Bitwise Logical Operators
Quiz 10
Bitwise Shift Operators
Quiz 11
if
Construct
Quiz 12
switch
Construct
Quiz 13
for
Construct
Quiz 14
while
Construct
What's Next?
The next quiz on Java is all about relational and logical operators available in Java.