It's UWAweek 18 (1st semester, week 9)

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 the 3 articles in this topic
Showing 3 of 112 articles.
Currently no other people reading this forum.


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

Login to reply

👍?
helpful
4:12am Sun 28th Apr, Zhaoyang L.

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.


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.


SVG not supported

Login to reply

👍?
helpful
10:51am Sun 28th Apr, Zhaoyang L.

Thank you for your clarification.

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