dot_class
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
dot_class [2022/09/15 09:24] – frchris | dot_class [2022/09/15 09:48] (current) – [Dot class] frchris | ||
---|---|---|---|
Line 1: | Line 1: | ||
**Dot Class** | **Dot Class** | ||
+ | |||
+ | BlueJ is a great " | ||
+ | |||
+ | |||
Extreme programming refers to the wise tradition to write the code that tests your new object before you actually write the new object. | Extreme programming refers to the wise tradition to write the code that tests your new object before you actually write the new object. | ||
+ | |||
+ | Here is a [[http:// | ||
+ | |||
+ | Below is a full fledged Graphics application that was based on a generic [[https:// | ||
<code java DotTester.java> | <code java DotTester.java> | ||
Line 99: | Line 107: | ||
+ | ====Dot class==== | ||
+ | Here is a bit of starter code to save you time, but feel free to write this from scratch! | ||
<code java Dot.java> | <code java Dot.java> | ||
Line 136: | Line 146: | ||
} | } | ||
</ | </ | ||
+ | |||
+ | Things to do: | ||
+ | - Write a two parameter constructor | ||
+ | - Write a method that returns a random number that is in the range of '' | ||
+ | - Write a method that returns a random Color | ||
+ | - Write a method that will draw itself on a '' | ||
+ | - Write a '' | ||
+ | - Write overload your constructor a few times | ||
+ |
dot_class.1663248270.txt.gz · Last modified: 2022/09/15 09:24 by frchris