It's UWAweek 42 (2nd semester, week 12)

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 selected article
Showing 1 of 257 articles.
Currently 2 other people reading this forum.


 UWA week 17 (1st semester, week 8) ↓
SVG not supported

Login to reply

👍?
helpful

"Zhaoyang Lin" [email protected] wrote:

In the lab description, you said "Range: Constructor takes two integers, the lower and upper bounds." Does it mean the data type of lower and upper bound is necessarily "int" in Java. Is it possible that you ask for a range of [0..100_000_000_000]. (100_000_000_000 is out of bound of an int in Java)

Thank you for your help.

Yes, you can use "int". You can check the Changelog at the Assessed Lab for this error handling possibilities.

2024-04-22: You do not need to handle "user" errors such as being passed null references. This lab is an exercise in using and inheriting from abstract classes, not in error handling.

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  8:08AM Aug 25 2024
Privacy policy