Java Reference
In-Depth Information
16. It is not a legal expression.
this
is of type
BankAccount
and the
BankAccount
class has no field named
amount
.
17. No implicit parameterÈŒthe method is staticÈŒand one explicit parameter,
called
args
.
18.
CarComponent
19. In the
draw
method of the
Car
class, call
g2.fill(frontTire);
g2.fill(rearTire);
20. Double all measurements in the
draw
method of the
Car
class.