What is the ASCII value of 'A'?
65
Recite the Java main method
public static void main (String [] args)
11001
What is the escape sequence for a new line?
What is the difference between print() and println()?
println() moves to the next line after printing
What is the ASCII value for 'a'?
97
What is instantiation?
creating one instance of an object
Convert A5 from base 16 to decimal
165
Write a code that prints a blank line.
System.out.println();
boolean a = true;
String b = "that";
What is a+b?
"truethat"
What is the ASCII value for '0'?
48
List the 8 primitive data types
byte, short, int, long, float, double, char, boolean
Convert 101001 from binary to decimal.
41
What is the escape sequence for a backslash?
\\
A java file name is always the same as the name of the what?
Class
What error occurs when your code asks a computer to do something it can not reliably do?
Runtime error
What is Integer.MIN-VALUE?
-2^31
Convert 10100111 from base 2 to hexadecimal.
A7
int a = 6;
char b = '2'
What is a+b?
56
int a = 6;
boolean b = false;
What is a+b?
error
Which error occurs when your syntax is incorrect?
Compile error
Which scanner method reads in a single word?
next();
Convert 69420 from decimal to base 31.
2A7B
int a = 6;
double b = 2;
What is a+b?
int a = 6;
String b = '2';
What is a+b?
62