Java Reference
In-Depth Information
exerCises
You can find a suggested solution to this question in Appendix A.
1.
The code for alerting a single message in Example 1 isn't very exciting. Modify the code to
display a random message from a set of three possible messages.