Difference between revisions of "Case Study IV"
From CompSciWiki
Line 11: | Line 11: | ||
<br /> | <br /> | ||
=Array Overview= | =Array Overview= | ||
+ | <p> | ||
+ | This is not done yet, testing things atm. | ||
+ | </p> | ||
+ | <pre> | ||
+ | int intArray[] = new int[5]; | ||
+ | |||
+ | for(int i=0; i <= 5; i++) | ||
+ | { | ||
+ | system.out.println(intArray[i]); | ||
+ | } | ||
+ | </pre> | ||
=Solution= | =Solution= |
Revision as of 15:18, 5 December 2007
COMP 1010 Home > Java Fundamentals
IntroductionNow that you have fixed your code, added loops to make it more compact, and broken your code into logical tasks called methods, we will take a look at further organizing your code on day four at Funky Books Inc. These modifications will be made to your previous Case Studies' code using the Array structures.
|
---|
{{{Body}}}
Array Overview
This is not done yet, testing things atm.
int intArray[] = new int[5]; for(int i=0; i <= 5; i++) { system.out.println(intArray[i]); }
Solution
Links To Other Case Studies
Case Study I: Day One at Funky Books Inc.
Case Study II: Day Two at Funky Books Inc.
Case Study III: Day Three at Funky Books Inc.