Vocabulary

Method - a collection of statements that are grouped together to perform a function. Methods are used to perform certain actions.

Class - blueprint that defines variables and methods. Every line of code needs to be in a class.

Variables - memory that contains a data value

String - stores a sequence of characters

Int - stores integers (32-bit)

Double - stores decimals (has decimal values up to 16 digits of precision)

Char - stores a single character

Float - stores decimals but has decimal values up to 7 digits of precision

Long - stores integers (64-bit)

Modulo - gives the remainder when dividing

Operator - symbol used to perform operations

Operand - one of the inputs of the operator

Conditional statements - tells a program to execute different actions depending on whether a condition is true or false

Loop - executes a set of instructions repeatedly

Static - a keyword that means the object belongs specifically to the class, not the instance of that class

Void - a keyword that means the method does not return a value

Instance - objects are called the instance of a class

Public - a keyword that means anyone can access the class, method, variable, etc...

Boolean - the value is either true or false

Create your website for free! This website was made with Webnode. Create your own for free today! Get started