Java Reference
In-Depth Information
exerCises
You can find suggested solutions to these questions in Appendix A.
1. Using the Date type, calculate the date 12 months from now and write this into a web page.
2. Obtain a list of names from the user, storing each name entered in an array. Keep getting
another name until the user enters nothing. Sort the names in ascending order and then write
them out to the page, with each name on its own line.
3. ch5_example8.html uses a function to create objects using literal notation. Modify this
example to use the Person data type.
 
Search WWH ::




Custom Search