Giter VIP home page Giter VIP logo

cs56-tutorials-hfj's Introduction

cs56-tutorials-hfj

Some simple programming exercises taken from the Head First Java book. The directories in this repository are organized by chapter.

Chapter 04

There are multiple samples from this chapter, which are organized into their own directories by page number.

  • Original description for these assignments:

The code samples on pages 71-79 or 80-86 (from Chapter 4) are, for the most part, not in the context of an entire class, so there is no way to run them.

So, your job is to write a set of classes and main programs that allows all of the code on those pages to be actually run and demonstrated.

In addition, add Javadoc comments, an Ant build.xml file, and targets to run each of the examples.

Call your targets things like run71 run72 run73, etc.

Or, if there is more than one code example on a page, you can make names that make sense such as run83_1 run83_2 etc.

You'll need to use your imagination to come up with what to put along with the code---e.g. some output (System.out.println( ... what??? ) so that you can see that the code is doing something.

Page 71-79

Here are the original two archive links for the source code that was used for these examples:

Page 80-86

Chapter 10

Displays how to use static methods, in particular the Math class. The only example right now comes from pg 286 of HFJ.

Chapter 13

Four GUI examples to demonstrate different layouts.

  • Original Instructions

Write some code that illustrates each of the Layout manager examples that is shown on pp. 401-412, as well as the example alluded to in in the "there are no dumb questions" of turning off the layout manager and just placing every widget manually.

Give the example GUIs names that correspond to the pages numbers in the book, such as GuiPage401, GuiPage402, etc.

cs56-tutorials-hfj's People

Contributors

kjorg50 avatar erichuang2 avatar pconrad avatar carammelkamp avatar

Watchers

Daniel He avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.