![]() |
![]() |
![]() |
![]() |
![]() |
|
The fatToCalories method is to be sent to instances of the
Integer class. Accordingly, be sure that the
instance button is selected, rather than the class button, in
the instanceobject window, so that you will define an
instance method. You learn about the role of the class
button in Segmentmissing reference.