1/16
Looks like no tags are added yet.
Name | Mastery | Learn | Test | Matching | Spaced | Call with Kai |
|---|
No analytics yet
Send a link to your students to track their progress
data type
size and type of values a variable can hold
byte
short
int
long
primitive data types 1
float
double
char
boolean
primitive data types 2
string
arrays
classes and interfaces
non primitive data types
string
used to store a sequence of characters (text) enclosed in double quotes
arrays
used to store multiple values of the same type in a single variable. fixed size
classes and interfaces
user defined types that allow you to create custom objects with properties and methods
if statement
if else statement
if-else if-else
switch statement
conditional control structures
if statement
executes a block of code only if a specified condition is true
if-else statement
executes one block if the condition is true and a different block if false
if-else if-else
checks condition sequentially, executing the first condition
switch statement
selects one of many code blocks to execute, alternative to long if chains
while loop
do-while loop
for loop
for-each loop
types of loops
while loop
execute as long as condition is true
do-while loop
execute once at least. loop continues as long as condition is true
for loop
repeat a code a specific number of times
for-each loop
iterate through every item