A good answer might be:One of the variables of the class would keep a reference to the message. |
Improved ClassHere is what we have so far for HelloObject:
Here is a start on improving the class definition (the constructor will come later):
|
QUESTION 15:Modify the definition of HelloObject to include a String reference variable. Modify the speak() method so that it uses that variable, not the String literal it presently uses. Click Here after you have answered the question |