Running the sample solution, one would notice that the JobQueue method runOne() should return a boolean.
Week 12 Quiz: Inheritance
October 19th, 2013 · No Comments · Announcements
For this week’s quiz, the best way to prepare is to complete last week’s lab work and study up on the content it covers.
Tags:
Classes are on this Week
September 23rd, 2013 · No Comments · Announcements
There has been some confusion about mid-semester break. Please note that there are classes for COMP1400 and INFS1609 this week, and next week is mid-semester break.
Tags:
Week 9 Quiz – what to revise
September 21st, 2013 · No Comments · Announcements
Many students have been asking what they should focus their study on for each quiz. This week’s quiz is based on ArrayLists. Having completed and understood all of last week’s lab work you should be able to achieve ‘satisfactory’ on this week’s quiz. You may also want to revise the methods in your first assignment, […]
Tags:
Having trouble with this week’s lab?
September 2nd, 2013 · No Comments · Uncategorized
If you’re having trouble with this week’s lab, take a look at the following example and step through the ‘main’ method inside the ‘Main’ class. Using Objects Demo
Tags:
Extra Exercises on Loops and Arrays
August 26th, 2013 · No Comments · Uncategorized
If you’d like some extra practice writing methods involving loops and arrays, take a look at the following two links: Loops Exercises Arrays Exercises
Tags:
Loops
October 16th, 2011 · No Comments · Uncategorized
To save people constantly looking up how to do loops in the lecture notes, here’s a simple example that prints the numbers 0 to 4 inclusive. As a for loop: for(int i=0; i<5; i++) { System.out.println(i); } As a while loop: int i=0; while(i<5) { System.out.println(i); i++; }
Tags: