Variables and Statements
Operators
length()
Terminology
substring()
100

This is the print statement in Java

What is System.out.println()?

100

int x = 2;

int y = 3;

System.out.println(3 * x - y);

What is 3;

100

This method returns the number of characters in a string, including spaces and punctuation.

What is length()?

100

Java is this type of language

what is a programming language?

100

String word = "elephant";

String newWord = word.substring(3);

System.out.println(newWord);


What is "phant? 

200

This type of variable is used to store decimals

What is a double?

200

int x = 10;

int y = 3;

System.out.println(x^2 - y);

What is 97?

200

"Temple".length();

What is 6?
200

These are used to make notes and explain code to other people Java without effecting the program

What are comments?

200

String word = "university";

String newWord = word.substring(0, 4);

System.out.println(newWord);


What is "univ"?

300
This type of variable is used to store true or false statements 

What is a boolean?

300

int x = 2;

int y = 3;

int z = 10;

System.out.println(z%x + y);

What is 3?

300

"House".length();  *  "Pizza".length(); 

What is 25?

300

String is this type of Data Type.

What is a Object?

300

String word = "celebration";

String newWord = word.substring(3, 9);

System.out.println(newWord);



What is "ebrati"?

400

This type of variable is used to store words and phrases

What is a String?

400

System.out.println(3 *(6/2) + 7-1);

What is 15?

400

String message = "Sally Sold Seashells By the Seashore!!"

int x = 29;

System.out.println(message.length() != x);

What is True?

400

This phrase is used to describe a specific letter or character

What is a character?

400

String word1 = "123house321";

String word2 = "321house123";

System.out.println(word1.substring(0,3).equals(word2.substring(8)));

What is True?

500

This is what it's called when you change one variable type into another

What is type casting?

500

Int x = 6+3-4 + 10%2;

String h = "house";

System.out.println(x * h.length());

What is 25?

500

String message = "_1_2_3_4_5!";

int x = message.length();

int y = 10;

System.out.print(x != y);

What is True.

500

This term is used to describe the % symbols in Java  

What is modulo?

500

String word = "synchronization";

String newWord = word.substring(word.length()  - 5);

System.out.println(newWord);

What is "ation" ?

M
e
n
u