Exercises

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

  1. (Challenging) Rewrite FieldOBeasts.java so that its state can be persistent. Implement buttons to allow you to save and recall different state files and continue running them where they left off. Use CADState.java from Chapter 10 as an example of how to do this.
  2. (Term project) Taking FieldOBeasts.java as a starting point, build an automobile traffic simulation system.
  3. (Term project) Using ClassScanner.java as a starting point, build a tool that points out methods and fields that are defined but never used.
  4. (Term project) Using JDBC, build a contact management program using a flat-file database containing names, addresses, telephone numbers, email addresses, etc. You should be able to easily add new names to the database. When typing in the name to be looked up, use automatic name completion as shown in VLookup.java in Chapter 15.
)



Comments

  • There are no comments yet. Be the first to comment!

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

Top White Papers and Webcasts

  • Instead of only managing projects organizations do need to manage value! "Doing the right things" and "doing things right" are the essential ingredients for successful software and systems delivery. Unfortunately, with distributed delivery spanning multiple disciplines, geographies and time zones, many organizations struggle with teams working in silos, broken lines of communication, lack of collaboration, inadequate traceability, and poor project visibility. This often results in organizations "doing the …

  • Hurricane Sandy was one of the most destructive natural disasters that the United States has ever experienced. Read this success story to learn how Datto protected its partners and their customers with proactive business continuity planning, heroic employee efforts, and the right mix of technology and support. With storm surges over 12 feet, winds that exceeded 90 mph, and a diameter spanning more than 900 miles, Sandy resulted in power outages to approximately 7.5 million people, and caused an estimated $50 …

Most Popular Programming Stories

More for Developers

Latest Developer Headlines

RSS Feeds