ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.

advertisement

AddThis Social Bookmark Button
Article:
  Rethinking the Java Curriculum: Goodbye, HelloWorld!
Subject:   Don't have them write the whole app
Date:   2002-08-21 12:33:20
From:   cmoyer
Well, a simple way to avoid the "main" issue and present them with something interesting to do is to provide them with a harness for objects they create.


Perhaps the instructors provides aquarium.class and fish.class. Then the students simply write myfish.java which inherits from fish and pass it to the aquarium. The fish can react to events OnFood(), OnTapOnTank(), etc...



1 to 1 of 1
  1. couldn't agree more
    2002-08-22 07:28:59  dscotson [View]

    • couldn't agree more
      2002-08-23 11:35:01  tomhunt [View]

    • Coincidence
      2002-08-22 21:54:30  trajano [View]

1 to 1 of 1