Skip to content

Calling Class Methods

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

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
class method/klæs ˈmeθəd/
static method/ˈstætɪk ˈmeθəd/A Java method belonging to a class, callable without creating an instance and without an implicit current object.
instance method/ˈɪnstəns ˈmeθəd/A method invoked with a particular object as its receiver, allowing it to use that object's state.

Handout

Log in or create account

IGCSE, A-Level & AP