<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>

<channel>
	<title>Mr. Chun</title>
	<atom:link href="http://galileoweb.org/chunb/feed/" rel="self" type="application/rss+xml" />
	<link>http://galileoweb.org/chunb</link>
	<description>Just another Galileo Web weblog</description>
	<pubDate>Tue, 06 Jan 2009 16:46:18 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.3</generator>
	<language>en</language>
			<item>
		<title>Chapter 8 Homework</title>
		<link>http://galileoweb.org/chunb/2009/01/06/chapter-8-homework/</link>
		<comments>http://galileoweb.org/chunb/2009/01/06/chapter-8-homework/#comments</comments>
		<pubDate>Tue, 06 Jan 2009 16:45:46 +0000</pubDate>
		<dc:creator>Mr. Chun</dc:creator>
		
		<category><![CDATA[APCS]]></category>

		<guid isPermaLink="false">http://galileoweb.org/chunb/?p=496</guid>
		<description><![CDATA[This homework assignment is due by the end of the day Monday, 1/12/09.


Now we know that we can declare classes that are abstract. What does it mean to be &#8220;abstract&#8221; and why would we want to do this?
On page 198, there is a picture of an inheritance hierarchy (tree). There are four methods defined in [...]]]></description>
			<content:encoded><![CDATA[<p>This homework assignment is due by the end of the day Monday, 1/12/09.<br />
<span id="more-496"></span></p>
<ol>
<li>Now we know that we can declare classes that are abstract. What does it mean to be &#8220;abstract&#8221; and why would we want to do this?</li>
<li>On page 198, there is a picture of an inheritance hierarchy (tree). There are four methods defined in the Animal class: makeNoise(), eat(), sleep(), and roam(). But in some of the subclasses, these methods appear again! For example, there is a roam() in the Feline class and makeNoise() and  eat() methods in the Wolf class. These common methods were supposed to be &#8220;abstracted&#8221; out into the superclass Animal. Why are they still in subclasses?  Explain.</li>
<li>Let’s suppose that you have a class called &#8220;Restaurant&#8221; and it was defined below as:
<pre>public class Restaurant
{
}</pre>
<p>Where would you add the word <code>abstract</code> to make this an abstract class?</li>
<li>OK, now let’s look at abstract methods. Suppose the abstract class<br />
Restaurant has a method called “cook()” as shown below:</p>
<pre>public void cook();</pre>
<p>Where would you add the word <code>abstract</code> to make this an abstract method?</li>
<li>True or False?<br />
a. There can be only ONE abstract class in an inheritance tree or hierarchy.<br />
b. You CAN have an abstract method in a non-abstract (concrete class) as long as you override it in a subclass.<br />
c. You CANNOT have non-abstract methods in an abstract class.<br />
d. You CAN use abstract class references as method arguments, return type, but NOT array types.<br />
e. Abstract methods MUST be overridden in subclass directly beneath it in the inheritance hierarchy.<br />
f. An ArrayList object is the “Mother” of all objects (all objects derive from ArrayList).<br />
g. To inherit the methods in type Object, you must explicitly state <code>extends Object</code> in your class declaration statement (for example: <code>public class Tool extends Object</code>).<br />
h. You CANNOT make an instance of type Object, since it is abstract.</li>
<li>What are the four methods that EVERY class has as a result of inheriting (explicitly or implicitly) from Object?</li>
<li>Can an abstract class can have a mix of both abstract and non-abstract methods?</li>
<li>On page 207 in this chapter, we were using the MyAnimalList class to store different types of a Animals. Why was it possible to store both Dogs and Cats in this class?</li>
<li>Creating an ArrayList of type Object can cause issues when you want to <code>get</code> objects from the ArrayList. For instance, let’s say you create an ArrayList of type Object called spaceThings:
<pre>ArrayList&lt;Object&gt; spaceThings = new ArrayList&lt;Object&gt;();</pre>
<p>and then store instances of classes like Monster, Asteroid, and SpaceRanger in the ArrayList. There is a problem when you try to <code>get</code> the objects from the ArrayList. Describe problem that you can run into when you attempt to <code>get</code> objects from the ArrayList and use their respective methods.</li>
<li>There’s must be a way to fix the problem described above (without creating an ArrayList using a type more specific than Object). For example, assume we have an ArrayList called spaceThings as before:
<pre>ArrayList&lt;Object&gt; spaceThings = new ArrayList&lt;Object&gt;();</pre>
<p>And let’s say that we have a Monster at index 0, an Asteroid at index 1, and a SpaceRanger at index 2. Write the three lines of code that you would use to correctly <code>get</code> these three elements from the ArrayList, and place them into a Monster variable m, an Asteroid variable a, and a SpaceRanger variable s. What is this process called?</li>
<li>Explain the differences between an abstract class and an interface.</li>
<li>Can a class extend a class and implement an interface?</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://galileoweb.org/chunb/2009/01/06/chapter-8-homework/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Final Presentations</title>
		<link>http://galileoweb.org/chunb/2009/01/05/final-presentations/</link>
		<comments>http://galileoweb.org/chunb/2009/01/05/final-presentations/#comments</comments>
		<pubDate>Mon, 05 Jan 2009 21:06:27 +0000</pubDate>
		<dc:creator>Mr. Chun</dc:creator>
		
		<category><![CDATA[AoIT 10]]></category>

		<guid isPermaLink="false">http://galileoweb.org/chunb/?p=455</guid>
		<description><![CDATA[The final exam period for this class occurs Wednesday, 1/14/09, from 10:45am to 12:45pm.  During that time period, you will deliver your final presentation.  There are no extensions or exceptions.  Students with an excused absence will present on Friday, 1/16/09.
Your presentation will be based on one of the incidents in the Joy Luck Club.  Since [...]]]></description>
			<content:encoded><![CDATA[<p>The final exam period for this class occurs Wednesday, 1/14/09, from 10:45am to 12:45pm.  During that time period, you will deliver your <strong>final presentation</strong>.  There are no extensions or exceptions.  Students with an excused absence will present on Friday, 1/16/09.</p>
<p>Your presentation will be based on one of the incidents in the Joy Luck Club.  Since you have been writing <a href="http://galileoweb.org/petersj/category/double-entry-journal/" >Double Entry Journals</a> for Ms. Peters, you should be able to look back at those notes and use them to help you select something from the book you found interesting.</p>
<p>In a 3-5 minute presentation, you will give an overview of your chosen moment from the book, and then tell your own story (either from your life or someone that you know very closely) and how it relates to the story in the book.  You will use PowerPoint to help you tell the stories, but remember that no one likes to watch someone read from the screen!  We want to hear you tell the story, and your slides are there to support and enhance what you&#8217;re saying &#8212; be sure they don&#8217;t detract or distract.</p>
<p><strong>Final Presentation Rubric</strong></p>
<table border="1" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td width="176" valign="top"></td>
<td width="176" valign="top">
<p align="center">4</p>
</td>
<td width="176" valign="top">
<p align="center">3</p>
</td>
<td width="176" valign="top">
<p align="center">2</p>
</td>
<td width="176" valign="top">
<p align="center">1</p>
</td>
</tr>
<tr>
<td width="176" valign="top">Joy Luck Club Story Description</td>
<td width="176" valign="top">An accurate summary of an incident from the book is given, including the relationships of the characters, <strong>symbolism</strong>, and themes.</td>
<td width="176" valign="top">An accurate summary of an incident from the book is given.</td>
<td width="176" valign="top">A partial summary of an incident from the book is given.</td>
<td width="176" valign="top">No incident from the book is described.</td>
</tr>
<tr>
<td width="176" valign="top">Your Story</td>
<td width="176" valign="top">Your own story is told in detail; comparisons and contrasts made with the JLC story, including characters, <strong>symbolism</strong>, and themes.</td>
<td width="176" valign="top">Your own story is told in enough detail to bring out comparisons and contrasts with the JLC story.</td>
<td width="176" valign="top">A story of your own is told and somehow related to the JLC story.</td>
<td width="176" valign="top">The relationship of your story to the JLC story is not explained.</td>
</tr>
<tr>
<td width="176" valign="top">Timing</td>
<td width="176" valign="top">Total presentation lasts between 3 and 5 minutes.</td>
<td width="176" valign="top">Total presentation lasts between 2 and 6 minutes.</td>
<td width="176" valign="top">Total presentation is under 2 minutes or over 6 minutes.</td>
<td width="176" valign="top">Presentation not given a fair attempt.</td>
</tr>
<tr>
<td width="176" valign="top">PowerPoint Use</td>
<td width="176" valign="top">Slides support and <strong>enhance </strong>the summary and the story, bringing additional depth to the presentation.</td>
<td width="176" valign="top">Slides support the summary and the story.</td>
<td width="176" valign="top">Slides are present but don&#8217;t add to the story.</td>
<td width="176" valign="top">Slides are distracting, disruptive, or irrelevant.</td>
</tr>
<tr>
<td width="176" valign="top">Presentation Skills</td>
<td width="176" valign="top">Presenter does not read, maintains <strong>eye contact</strong>, has good <strong>pacing </strong>(not speaking too slowly or too quickly) and <strong>volume</strong>.</td>
<td width="176" valign="top">Presenter occasionally uses notes or refers to the screen, and can be heard and understood.</td>
<td width="176" valign="top">Presenter reads or looks down and does not have good eye contact.</td>
<td width="176" valign="top">Presenter can not be heard or understood.</td>
</tr>
</tbody>
</table>
]]></content:encoded>
			<wfw:commentRss>http://galileoweb.org/chunb/2009/01/05/final-presentations/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Winter Test Results and Corrections</title>
		<link>http://galileoweb.org/chunb/2009/01/05/winter-test-results-and-corrections/</link>
		<comments>http://galileoweb.org/chunb/2009/01/05/winter-test-results-and-corrections/#comments</comments>
		<pubDate>Mon, 05 Jan 2009 17:07:01 +0000</pubDate>
		<dc:creator>Mr. Chun</dc:creator>
		
		<category><![CDATA[APCS]]></category>

		<guid isPermaLink="false">http://galileoweb.org/chunb/?p=463</guid>
		<description><![CDATA[First, the good news: The score distribution is a nice-looking bell curve.

The rest of the news: The distribution is centered around approximately 50, and the high score was 83 with a mean of 56.5.
Curve: All scores are automatically +10, which sets the top performers back into the A range.
Test Corrections: Everyone is eligible to write [...]]]></description>
			<content:encoded><![CDATA[<p>First, the good news: The score distribution is a nice-looking bell curve.<br />
<span id="more-463"></span><br />
<img class="alignnone" src="http://galileoweb.org/chunb/files/2009/01/picture-6.jpg" alt="" width="211" height="125" />The rest of the news: The distribution is centered around approximately 50, and the high score was 83 with a mean of 56.5.</p>
<p>Curve: All scores are automatically +10, which sets the top performers back into the A range.</p>
<p>Test Corrections: Everyone is eligible to write corrections to any missed problem.  Each problem will be considered individually.  Corrections are due <strong>Tuesday, 1/13/09</strong> at 10:45am, the start of the APCS final exam period.  You may email or use paper. You may discuss problems with your fellow students, but each correction must be entirely your own writing and reflection your own understanding.</p>
<p>Credit: If your test corrections convince Mr. Chun that you understand the concept at hand, you will earn back half of the lost credit for that question.  The mathematically astute among you have noted that this allows someone who originally scored an 83 (for example) to reach a total of 93 + (17/2) = 101.5 and, perhaps more significantly, allows someone who originally scored a 20 to reach a total of 30 + (80/2) = 70.  Therefore, it is possible for everyone to earn a passing score on the test.</p>
<p>Some ways to convince Mr. Chun you understand a concept: Write out your thoughts and explain your ideas clearly. Be sure you are using vocabulary words correctly.  Give another example. Point out the way you previously misunderstood. Relate the solution to other concepts from the class. For multiple choice questions, identify the type of misunderstanding that would lead to some of the incorrect options offered.  A typical correction will consist of approximately one paragraph of explanation, along with any necessary code or diagrams.</p>
]]></content:encoded>
			<wfw:commentRss>http://galileoweb.org/chunb/2009/01/05/winter-test-results-and-corrections/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Flash Character Walk Cycle</title>
		<link>http://galileoweb.org/chunb/2009/01/04/flash-character-walk-cycle/</link>
		<comments>http://galileoweb.org/chunb/2009/01/04/flash-character-walk-cycle/#comments</comments>
		<pubDate>Sun, 04 Jan 2009 21:21:45 +0000</pubDate>
		<dc:creator>Mr. Chun</dc:creator>
		
		<category><![CDATA[Intro Prog]]></category>

		<guid isPermaLink="false">http://galileoweb.org/chunb/?p=456</guid>
		<description><![CDATA[Adobe Flash CS3 should now be installed on your computer.  Our last project of the first semester will help get you familiar with (or remind you about) animation in Flash.  You will be creating a simple character animation called a walk cycle.  The walk cycle is a set of frames that, when looped, makes the [...]]]></description>
			<content:encoded><![CDATA[<p>Adobe Flash CS3 should now be installed on your computer.  Our last project of the first semester will help get you familiar with (or remind you about) animation in Flash.  You will be creating a simple character animation called a walk cycle.  The walk cycle is a set of frames that, when looped, makes the character appear to walk in place.</p>
<p>Your character (specifically the frames of the walk cycle animation) should all be created inside a Movie Clip  symbol called &#8220;walk&#8221;.  Remember that symbols are created and managed in the Library.  This character will eventually do more than just walk, but for now you just need one symbol.</p>
<p>A lot of information about the personality and style of your character is conveyed through how it walks.  This <a href="http://www.idleworm.com/how/anm/02w/walk1.shtml" onclick="javascript:pageTracker._trackPageview ('/outbound/article/www.idleworm.com');">tutorial</a> is a good starting point.  The following drawings from <a href="http://en.wikipedia.org/wiki/Preston_Blair" onclick="javascript:pageTracker._trackPageview ('/outbound/article/en.wikipedia.org');">Preston Blair</a> also give a sense of the keyframes.</p>
<p><img class="alignnone size-full wp-image-458" src="http://galileoweb.org/chunb/files/2009/01/picture-3.jpg" alt="" width="500" height="130" /> <img class="alignnone size-full wp-image-459" src="http://galileoweb.org/chunb/files/2009/01/picture-4.jpg" alt="" width="500" height="134" /></p>
<p>Due to be shown to the class for critique during the Final Exam period Thursday 1/15/09,  10:45am – 12:45pm.</p>
]]></content:encoded>
			<wfw:commentRss>http://galileoweb.org/chunb/2009/01/04/flash-character-walk-cycle/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Finished Games</title>
		<link>http://galileoweb.org/chunb/2008/12/18/finished-games/</link>
		<comments>http://galileoweb.org/chunb/2008/12/18/finished-games/#comments</comments>
		<pubDate>Thu, 18 Dec 2008 22:47:34 +0000</pubDate>
		<dc:creator>Mr. Chun</dc:creator>
		
		<category><![CDATA[Intro Prog]]></category>

		<guid isPermaLink="false">http://galileoweb.org/chunb/?p=450</guid>
		<description><![CDATA[
Snake O&#8217;Doom
Hungry for Words
SuperBall!
EvilBunnehz
Most Annoying Shooting Game
Battle Limo
Bomb Game

]]></description>
			<content:encoded><![CDATA[<ul>
<li><a href="http://www.freewebs.com/v13tboi415/snakeodoom.htm" onclick="javascript:pageTracker._trackPageview ('/outbound/article/www.freewebs.com');">Snake O&#8217;Doom</a></li>
<li><a href="http://www.geocities.com/sappire_angel3/mrchun/index.html" onclick="javascript:pageTracker._trackPageview ('/outbound/article/www.geocities.com');">Hungry for Words</a></li>
<li><a href="http://www.freewebs.com/xriirenx/SuperBall/index.html" onclick="javascript:pageTracker._trackPageview ('/outbound/article/www.freewebs.com');">SuperBall!</a></li>
<li><a href="http://www.freewebs.com/zerovw/EvilBunnehz/index.html" onclick="javascript:pageTracker._trackPageview ('/outbound/article/www.freewebs.com');">EvilBunnehz</a></li>
<li><a href="http://spttxm.tripod.com/Team%20Project/index.html" onclick="javascript:pageTracker._trackPageview ('/outbound/article/spttxm.tripod.com');">Most Annoying Shooting Game</a></li>
<li><a href="http://www.geocities.com/somedude429/battlelimo/index.html" onclick="javascript:pageTracker._trackPageview ('/outbound/article/www.geocities.com');">Battle Limo</a></li>
<li><a href="http://hills.ccsf.edu/~azhang02/JAWD/index.html" onclick="javascript:pageTracker._trackPageview ('/outbound/article/hills.ccsf.edu');">Bomb Game</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://galileoweb.org/chunb/2008/12/18/finished-games/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Lab 9: Pets</title>
		<link>http://galileoweb.org/chunb/2008/12/11/lab-9-pets/</link>
		<comments>http://galileoweb.org/chunb/2008/12/11/lab-9-pets/#comments</comments>
		<pubDate>Thu, 11 Dec 2008 16:09:03 +0000</pubDate>
		<dc:creator>Mr. Chun</dc:creator>
		
		<category><![CDATA[APCS]]></category>

		<guid isPermaLink="false">http://galileoweb.org/chunb/?p=441</guid>
		<description><![CDATA[This lab is due Monday, 1/5/09 to be demonstrated in class.

In this lab, you will be extending the following base class:

public class Pet
{
  private String name;
  private int weight;

  void setName( String n )
  {
    name = n;
  }
  String getName()
  {
    [...]]]></description>
			<content:encoded><![CDATA[<p>This lab is due Monday, 1/5/09 to be demonstrated in class.<br />
<span id="more-441"></span></p>
<p>In this lab, you will be extending the following base class:</p>
<pre>
public class Pet
{
  private String name;
  private int weight;

  void setName( String n )
  {
    name = n;
  }
  String getName()
  {
    return name;
  }
  void setWeight( int w )
  {
    weight = w;
  }
  int getWeight()
  {
    return weight;
  }
}
</pre>
<p>Your job is to create three subclasses of Pet, each in their own .java file of course, using the <code>extends</code> syntax.  Each subclass should have at least one private <strong>member variable</strong> that represents a property unique to that subclass.  In addition to all necessary setter and getter methods, each subclass should should at least one <strong>method</strong> that represents a behavior or activity unique to that subclass.</p>
<p>Once you&#8217;ve created your three subclasses, create a PetTestDrive class to demonstrate them.  Create at least one instance of each Pet-derived class, and call its unique methods.  Put all the instances into an ArrayList that can hold only Pets.  Then write a loop that will display the name and weight of each Pet.</p>
]]></content:encoded>
			<wfw:commentRss>http://galileoweb.org/chunb/2008/12/11/lab-9-pets/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Winter Test</title>
		<link>http://galileoweb.org/chunb/2008/12/09/winter-test/</link>
		<comments>http://galileoweb.org/chunb/2008/12/09/winter-test/#comments</comments>
		<pubDate>Tue, 09 Dec 2008 16:52:45 +0000</pubDate>
		<dc:creator>Mr. Chun</dc:creator>
		
		<category><![CDATA[APCS]]></category>

		<guid isPermaLink="false">http://galileoweb.org/chunb/?p=434</guid>
		<description><![CDATA[Date: Thursday, 12/18/08, 8:00am
Topics: This is a comprehensive test covering all topics this semester, through Chapter 6 and Lab 8.5. This includes, but is not limited to: the compiler, source code/object files, syntax vs. semantics, classes, naming conventions, method and variable declarations, types (primitive vs. reference), String methods, loops, conditionals, arrays, and encapsulation.
Format: There will [...]]]></description>
			<content:encoded><![CDATA[<p>Date: Thursday, 12/18/08, 8:00am</p>
<p>Topics: This is a comprehensive test covering all topics this semester, through Chapter 6 and Lab 8.5. This includes, but is not limited to: the compiler, source code/object files, syntax vs. semantics, classes, naming conventions, method and variable declarations, types (primitive vs. reference), String methods, loops, conditionals, arrays, and encapsulation.</p>
<p>Format: There will be various question types, including multiple choice, fill-in items, writing short sections of code, and free response.</p>
]]></content:encoded>
			<wfw:commentRss>http://galileoweb.org/chunb/2008/12/09/winter-test/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Chapter 7 Homework</title>
		<link>http://galileoweb.org/chunb/2008/12/09/chapter-7-homework/</link>
		<comments>http://galileoweb.org/chunb/2008/12/09/chapter-7-homework/#comments</comments>
		<pubDate>Tue, 09 Dec 2008 16:46:09 +0000</pubDate>
		<dc:creator>Mr. Chun</dc:creator>
		
		<category><![CDATA[APCS]]></category>

		<guid isPermaLink="false">http://galileoweb.org/chunb/?p=430</guid>
		<description><![CDATA[Due Tuesday, 12/16/08 by the end of the day.

1. What is the process of moving common elements (methods and variables) to another class? What is the name of this special new class?
2. Once a superclass is created, what main purpose does it serve?
3. In page 167, it looks like there are rotate() and playSound() methods [...]]]></description>
			<content:encoded><![CDATA[<p>Due Tuesday, 12/16/08 by the end of the day.<br />
<span id="more-430"></span></p>
<p>1. What is the process of moving common elements (methods and variables) to another class? What is the name of this special new class?</p>
<p>2. Once a superclass is created, what main purpose does it serve?</p>
<p>3. In page 167, it looks like there are rotate() and playSound() methods in both the Shape and Amoeba classes. Shouldn’t the Amoeba rotate() and playSound() methods be put into the Shape class? Why does the Amoeba class have its own versions of rotate() and playSound()?</p>
<p>4. When you have a method in both a superclass and a subclass, how does the JVM know which one of these to call?</p>
<p>5. In the inheritance tree on page 168, there is a FriedEggMan who inherits from a SuperHero superclass. FriedEggMan does not override any of the superclass methods, so what makes a FriedEggMan unique? Does he inherit anything else? </p>
<p>6. How can a programmer determine which methods should be overriden?</p>
<p>7. Can a class have a superclass and a subclass? </p>
<p>8. The book keeps talking about how polymorphism can &#8220;make my life easier.&#8221; Give two examples of how polymorphism allows programmers to program more efficiently.</p>
<p>9. What is the difference between overriding a method and overloading it? Give an example of each situation (this should be Java code as well as your explanation of it).</p>
]]></content:encoded>
			<wfw:commentRss>http://galileoweb.org/chunb/2008/12/09/chapter-7-homework/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Inheritance</title>
		<link>http://galileoweb.org/chunb/2008/12/08/inheritance/</link>
		<comments>http://galileoweb.org/chunb/2008/12/08/inheritance/#comments</comments>
		<pubDate>Mon, 08 Dec 2008 17:20:50 +0000</pubDate>
		<dc:creator>Mr. Chun</dc:creator>
		
		<category><![CDATA[APCS]]></category>

		<guid isPermaLink="false">http://galileoweb.org/chunb/?p=422</guid>
		<description><![CDATA[Tonight’s homework (due by the start of class tomorrow via email): Read Sun’s Object Oriented Programming Concepts (the first 3 sections) and answer questions 1-6.
You might find this FAQ about inheritance useful.
]]></description>
			<content:encoded><![CDATA[<p>Tonight’s homework (due by the start of class tomorrow via email): Read Sun’s <a href="//java.sun.com/docs/books/tutorial/java/concepts/index.html" onclick="javascript:pageTracker._trackPageview ('/outbound/article/java.sun.com');">Object Oriented Programming Concepts</a> (the first 3 sections) and answer questions 1-6.</p>
<p>You might find this <a href="//www.codestyle.org/java/faq-Inheritance.shtml" onclick="javascript:pageTracker._trackPageview ('/outbound/article/www.codestyle.org');">FAQ about inheritance</a> useful.</p>
]]></content:encoded>
			<wfw:commentRss>http://galileoweb.org/chunb/2008/12/08/inheritance/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Lab 8.5: ArrayLister</title>
		<link>http://galileoweb.org/chunb/2008/12/04/lab-85-arraylister/</link>
		<comments>http://galileoweb.org/chunb/2008/12/04/lab-85-arraylister/#comments</comments>
		<pubDate>Thu, 04 Dec 2008 16:05:09 +0000</pubDate>
		<dc:creator>Mr. Chun</dc:creator>
		
		<category><![CDATA[APCS]]></category>

		<guid isPermaLink="false">http://galileoweb.org/chunb/?p=417</guid>
		<description><![CDATA[This half lab is due Monday, 12/8/08 to be checked in class.


Pick one of the following classes you created in a previous lab: Student or Clock.
Create a new class called ArrayLister.  (Note the -er ending on that class name.)
The following instructions all refer to the main method of ArrayLister:


Create an ArrayList called myList that [...]]]></description>
			<content:encoded><![CDATA[<p>This half lab is due Monday, 12/8/08 to be checked in class.<br />
<span id="more-417"></span></p>
<ul>
<li>Pick one of the following classes you created in a previous lab: Student or Clock.</li>
<li>Create a new class called ArrayLister.  (Note the -er ending on that class name.)</li>
<li>The following instructions all refer to the main method of ArrayLister:</li>
</ul>
<ol>
<li>Create an ArrayList called myList that can hold objects of your chosen type (Student or Clock).</li>
<li>Write code that will pick a random number x between 5 and 10.</li>
<li>Create a loop that will construct exactly x Student or Clock objects and store them in myList.</li>
<li>Once this is done, set some value for each Student or Clock object by calling a method such as setName or setHours.  (You have different options for accomplishing this goal, not just in your choice of method to call, but also in how you access each of the items in myList. Don&#8217;t forget about the API reference!)</li>
<li>Finally, call a method on each Student or Clock that will print some output (for example: the time or the name and GPA.)</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://galileoweb.org/chunb/2008/12/04/lab-85-arraylister/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
