Desktop-as-a-Service Designed for Any Cloud ? Nutanix Frame
|Bruce Eckel's Thinking in Java||Contents | Prev | Next|
- Following the first example in this chapter, create a “Hello, World” program that simply prints out that statement. You need only a single method in your class (the “main” one that gets executed when the program starts). Remember to make it static and to put the argument list in, even though you don’t use the argument list. Compile the program with javac and run it using java.
- Write a program that prints three arguments taken from the command line.
- Find the code for the second version of Property.java, which is the simple comment documentation example. Execute javadoc on the file and view the results with your Web browser.
- Take the program in Exercise 1 and add comment documentation to it. Extract this comment documentation into an HTML file using javadoc and view it with your Web browser.