229k views
0 votes
Which of the following statements is true?

A) When you drive a car, pressing its gas pedal sends a message to the car to perform a task—that is, to go faster.
B) You send messages to an object; each message is implemented as a method call that tells a method of the object to perform its task.
C) A program might call a bank-account object's deposit method to increase the account's balance.
D) All of these statements are true.

1 Answer

2 votes

Answer:

Option D is the correct answer.

Step-by-step explanation:

User Ultraloveninja
by
5.7k points