Java Variables QuizS2C Home « Java Variables Quiz
Fundamentals Quiz 2
The quiz below tests your knowledge of the material learnt in Fundamentals - Lesson 3 - Java Variables.
Question 1 : Whenever you declare a variable in Java, you have to give it a type?
- Java is a strongly typed language and as such cares about the type of the variables we declare, so the type must be declared.
Quiz Progress Bar
Quiz 1
Code Structure & Syntax

Quiz 3
Primitives - boolean
& char
data types

Quiz 4
Primitives - Numeric data types

Quiz 5
Method Scope

Quiz 6
Arithmetic Operators

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 about the boolean
& char
primitive data types.