Activities
If you would like to explore the topics covered in this hour a little more fully, try the following activities:
You can translate the English phrase "Hello world!" into other languages using the AltaVista website Babelfish, located at http://babel.altavista.com. Write a program that enables your computer to greet the world in a language such as French, Italian, or Portuguese. Go back to the Saluton program and add one or two errors. For example, take a semicolon off the end of a line, or change the text println on one line to print1n. Save the program and try to compile it. Compare the error messages you get to the errors you caused.
To see solutions to these activities, visit the book's website at http://www.java24hours.com.
|