Skip to content

Variables and Data Types

Introduced
Handout
Video lesson for this topic Open the video page
15:05

Using Objects and Methods

Here are two Java programs. The first is missing a semicolon. The second divides seven by two and stores the answer in a whole number. The compiler stops the…

English narration · English and 中文 subtitles you can switch

In this lesson

Video lesson
Vocabulary
English Meaning
variable/ˈveərɪəbl/A quantity or named value that can change or take different values.
primitive types/ˈprɪmɪtɪv taɪps/The language's basic non-reference types; in Java, these are the Boolean and numeric types.
reference types/ˈrefrəns taɪps/

Handout

Log in or create account

IGCSE, A-Level & AP