|
home—info—lects—labs—exams—hws
textbook—tutor/PIs—java.lang docs—java.util docs
Today we'll revisit the SongTester class we wrote as part of hw02—songs and rectangles's solution . We'll see how classes are a better way to organize information than a bunch of local variables.
Consider a class Song. Its object have what sort of behaviors?
[Sect-02 reached here, Feb.16 (Mon)]
Floober f; f = new Floober( "Betelgeuse", 3.7 ); double x = Math.sqrt( f.squibsquib( 7, "NCC-1701" ) ); int n = (f.gluzzzzx()).length(); |
We'll continue next time, writing the signatures and method bodies.
home—info—lects—labs—exams—hws
textbook—tutor/PIs—java.lang docs—java.util docs
©2009, Ian Barland, Radford University Last modified 2009.Feb.20 (Fri) |
Please mail any suggestions (incl. typos, broken links) to ibarlandradford.edu |