A template used to create objects and to define object data types and methods
What is a class?
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?
These data types are used when you need a number with a decimal
What are float & double?
_____ is a data type that stores a 64-bit whole number ( for larger whole numbers).
what is long
public static void main(String[] args)
A java program entry point
The data containers that save the data values during Java program execution.
What is variable?
These are the 3 requirements you need to run a loop?
What are a variable, condition and update (increase or decrease)?
Descriptive text to explain portion of code that is not executed.
What are comments?
What is the output of the following code:
int b = 10;
b=b+1;
System.out.println(b++);
What is 11?
Method used to extract part of a given String
What is .substring?
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?
A count controlled loop with a known starting and ending point and a constant increment or decrement.
What is a for loop?
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")
The solution to:
8 * 5 + 2 * 4 - 10 * 6 / 2what is 18?
method that returns the character from the specified index
What is .charAt?
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?
This loop does not have to run if condition is met
What is while?
This primitive data type cannot be directly converted into a string.
What is boolean?
what symbol is used to return a remainder
what is % or modulus?
Method used to determine if two objects have the same content
What is .equals
You need this to run object code (bytecode).
What is a JVM (Java Virtual Machine)?
A transformation rule that are used in Boolean logic as a way to express the negation of a conjunction (AND) or a disjunction (OR) in terms of the other.
what is DeMorgan's Rules
How you compile a .java file in the Windows Subsystem for Linux.
What is type javac?
The answer to 7 + (6 × 5+ 3)
What is 40?
The substring method starts counting at this number.
What is 0?