It's UWAweek 17 (1st semester, week 8)

help2005

This forum is provided to promote discussion amongst students enrolled in CITS2005 Object Oriented Programming.

Please consider offering answers and suggestions to help other students! And if you fix a problem by following a suggestion here, it would be great if other interested students could see a short "Great, fixed it!"  followup message.

How do I ask a good question?
Displaying 10 tagged articles
Showing 10 of 99 articles.
Currently 2 other people reading this forum.


 UWA week 17 (1st semester, week 8) ↓
SVG not supported 5:16pm Sat 27th Apr, Reuben S.

Hello, Is the maximum amount of parameters for Union, intersection and complement 2? And is it safe to assume that there can't only be 1 parameter for intersection and union? Thanks


 UWA week 16 (1st semester, week 7) ↓
SVG not supported 1:09pm Fri 19th Apr, Andrew G.

ANONYMOUS wrote Dependency can have various meanings, and I am not sure how you are using it here. The same goes for the concept of flexibility. As a sweeping generalization, I would say that interfaces are "more flexible" than inheritance. Interfaces...


SVG not supported 4:14pm Wed 17th Apr, ANONYMOUS

When we use inheritance (extends), we create a dependency on the parent class, correct? Does using an interface instead of an abstract base class make our code more flexible?


 UWA week 12 (1st semester, week 4) ↓
SVG not supported 11:51am Wed 20th Mar, Andrew G.

You can get either to work, but given that the isPrime method has no reason to depend on any object state, static makes the most sense.


SVG not supported
labs Lab2Exercise2 👍x1  (both)
9:40am Mon 18th Mar, ANONYMOUS

emails is an array (or specifically an ArrayList) of objects of the class Email. The loop is a 'for-each' loop which uses the syntax for (datatype variableName collection) ... This means for each item in the collection array, store th...


 UWA week 11 (1st semester, week 3) ↓
SVG not supported 4:51pm Sun 17th Mar, ANONYMOUS

Could you please tell me what does this for loop mean? for (Email email emails) Thank you.


SVG not supported 10:16am Sat 16th Mar, Xiao Z.

In the writing of the isPrime method, the question doesn't say whether the method should be static or non-static. Should we be concerned about this, or just assume the default is non-static?


SVG not supported 11:07am Mon 11th Mar, Andrew G.

There are a couple of options for how to get input in a Java program that we have covered so far... You can indeed use Scanner . You can construct a Scanner object wherever it makes sense (probably in main , for a little example like this) and use...


 UWA week 10 (1st semester, week 2) ↓
SVG not supported 4:06pm Fri 8th Mar, ANONYMOUS

Hello, I have a question regarding how if I would use Scanner to input different options each time I call the class? Or if there is another way? This is what I wrote for one of the coding bat questions public class CaughtSpeeding public static int ...


SVG not supported 11:20am Tue 5th Mar, Andrew G.

Please be aware that all Tuesday and Wednesday labs in CSSE 2.03 have been relocated to CSSE 2.05. As these are relatively recent changes, they do not appear in the timetable system. Additionally, shortly before the start of semester we were able to a...

The University of Western Australia

Computer Science and Software Engineering

CRICOS Code: 00126G
Written by [email protected]
Powered by history
Feedback always welcome - it makes our software better!
Last modified  5:07AM Sep 06 2023
Privacy policy