Java Terms
Conditions and Loops
Potpourri
Stephen
Methods
100

A template used to create objects and to define object data types and methods

What is a class?

100

Use this loop when you need the body to execute at least once, whether or not the condition is true or not

What is Do While Loop?

100

These data types are used when you need a number with a decimal

What are float & double?

100

This is the number of children Stephen has.

what is 4?

100

public static void main(String[] args)

What is the Main Method?

200

The data containers that save the data values during Java program execution.

What is variable?

200

These are the 3 requirements you need to run a loop?

What are a variable, condition and update (increase or decrease)?

200

Descriptive text to explain portion of code that is not executed.

What are comments?

200

Video Games

What is hobby or what he does in his spare time?

200

Method used to extract part of a given String

What is .substring?

300

The process of combining two or more strings to form a new string by subsequently appending the next string to the end of the previous strings.

What is concatenation?

300

A count controlled loop with a known starting and ending point and a constant increment or decrement.

What is a for loop?

300

To print Hello and World on two seperate lines, what lines of code would you use?

What is System.out.println ("hello")

What is System.out.println ("world")


300

This is the branch of military that Stephen served in.

what is Marines?

300

method that returns the character from the specified index

What is .charAt?

400

This is a set of instructions/commands and statements which is written by a programmer by using a computer programming language.

What is source code?

400

This loop does not have to run if condition is met

What is while?

400

This primitive data type cannot be directly converted into a string.

What is boolean?

400

Black, Orange and Grey.

What are his favorite colors?

400

Method used to determine if two objects have the same content

What is .equals

500

You need this to run object code.

What is a JVM (Java Virtual Machine)?

500

This checks if two numbers are equal or not.

what is "=="?

500

How you compile a .java file in the Windows Subsystem for Linux.

What is type javac?

500

Eggs and Grapefruit

What are food Stephen hates?

500

The substring method starts counting at this number.

What is 0?

M
e
n
u