Exercises

Bruce Eckel's Thinking in Java Contents | Prev | Next

  1. 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.
  2. Write a program that prints three arguments taken from the command line.
  3. 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.
  4. 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.
  5. c


Comments

  • BHpLZQ ZY vl Nhp xHoC Ri

    Posted by eCIJqbkUDZ on 05/20/2013 05:39pm

    buy tramadol cod online reliable online pharmacy tramadol - where can i purchase tramadol with a mastercard

    Reply
Leave a Comment
  • Your email address will not be published. All fields are required.

Top White Papers and Webcasts

  • Agile development principles have gone from something used only by cutting-edge teams to a mainstream approach used by teams large and small. If you're not using agile methods already though, or if you've only been exposed to agile on small projects here and there, you may wonder if agile can ever work in your environment. Read this eBook to learn the fundamentals of agile and how to increase the productivity of your software teams while enabling them to produce higher-quality solutions that better fulfill …

  • With 81% of employees using their phones at work, companies have stopped asking: "Is corporate data leaking from personal devices?" and started asking: "How do we effectively prevent corporate data from leaking from personal devices?" The answer has not been simple. ZixOne raises the bar on BYOD security by not allowing email data to reside on the device. In addition, Zix allows employees to maintain complete control of their personal device, therefore satisfying privacy demands of valued employees and the …

Most Popular Programming Stories

More for Developers

Latest Developer Headlines

RSS Feeds