Skip to content

Casting and Range

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
casting/ˈkæstɪŋ/
truncates/ˈtrʌŋkeɪts/
widening/ˈwaɪdənɪŋ/
overflow/ˌəʊvəˈfləʊ/A condition in which a result exceeds the range representable by the available storage or number format.
narrowing/ˈnærəʊɪŋ/
range/reɪndʒ/
Next →

Handout

Log in or create account

IGCSE, A-Level & AP