WJ 1102A Module2 Exercise 2
WJ 1102A Module2 Exercise 2
The objective of this exercise is to create and initialize String objects and
to print their contents.
2. Create a class called PersonTwo that creates and initializes two variables:
• The second variable stores the name of the person who said it.
3. Use a method called displayQuote to display the quotation and the name to the
screen.