![]() |
![]() |
![]() |
![]() |
![]() |
|
To create a Movie instance, you deploy the
new keyword, with the class name and a pair of parentheses, as
shown in the following expression:
*-- Keyword | | *-- Class name | | v v new Movie()
You will learn why you need the parentheses in Segment 216; for now, just accept the parentheses as ritual to be understood later.