Slide 29 of 57
Lecture 2: Using Objects
Previous
Next
Overview
Answers
double
An
int
is not an object, and you cannot call a method on it
(x + y) * 0.5