forked from Prof-Calebe/Source-Code-Inspection
-
Notifications
You must be signed in to change notification settings - Fork 0
Troco#4 #8
Copy link
Copy link
Open
Labels
bugSomething isn't workingSomething isn't working
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working
@OverRide
public boolean hasNext() {
for (int i = 6; i >= 0; i++) {
// dado: sempre será diferente de nulo
if (troco.papeisMoeda[i] != null) {
return true;
}
}
return false;
}