Skip to content

return incorreto #21

@SolangeAlvarenga

Description

@SolangeAlvarenga

classe troco, linha 63 e 66, os returns estão com logica incorreta juntamente com o IF.

@OverRide
public boolean hasNext() {
for (int i = 0; i <= 5; i++) {
if (troco.papeisMoeda[i] = null) {
return false;
}
}
return true;
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions