...

/

Quiz Yourself on Variables and Data Types

Quiz Yourself on Variables and Data Types

Attempt the following quiz to test your understanding of variables, data types, and operators in Java.

We'll cover the following...
1

(Select all that apply.) What is the correct way to create an int type variable in Java?

A)
int var1;
B)
var1 int;
C)
int var1 = 7;
D)
var1 int = 7;
Question 1 of 200 attempted