Faculty of Engineering and Mathematical Sciences 
Not logged in (login)


This forum is provided to promote discussion amongst students enrolled in Data Structures and Algorithms (CITS2200).
RSS cloud
Jump to:

Lab 4

1 of 251 articles shown, currently no other people reading this forum.
Date: Thu 26th Mar, 1:29pm
Actually, now I think it's if the window doesn't exist or it's outside the list. But for 
some reason when I put in the conditions for if: 

- the window does exist OR
- the window is not before first OR
- the window is not after last, 

it still executes the method instead of throwing an OutOfBounds exception even though one 
of the conditions is true. Is there some reason why this is the case?

Related articles

Lab 4 (both) RSS
├─ original   Wed 25th Mar, 9:45am, ANONYMOUS
└─ THIS   Thu 26th Mar, 1:29pm, ANONYMOUS  O.P.
This Page

Program written by: [email protected]
Feedback welcome
Last modified:  8:27am May 24 2020