25 multiple‑choice questions (5 options each). The first option is the correct answer.
int age;
age int;
integer age;
var age;
int: age;
int age = 17;
age = int 17;
declare age = 17;
var age == 17;
new int age(17);
int
double
boolean
char
String
float
String name = "Shrek";
char name = 'Shrek';
string name = Shrek;
String name = Shrek;
new String = name;
name.length()
name.toUpperCase()
double y = x;
x
int x = y;
y
boolean flag = 1;
char c = "A";
String s = 'A';
char c = 'A';
boolean flag = false;
String s = "Hello";
+
*
&
%
#
System.out.println("Score: " + 100);
Score: 100
Score 100
Score: +100
100 Score:
Score 100:
int dollars = (int) price;
double y = 7;
int x = 10;
boolean flag = true;
char c = 'C';
=
System.change()
String.replace()