Skip to content

Wrong method print() #3

@Verzeragna

Description

@Verzeragna

Hello! New validator in JavaRush doesn't accept method print() in class Canvas (javarush/test/level24/lesson14/big01). Now new working methot looks like this:
public void print() {
for (int i = 0; i < getHeight() + 2; i++) {
for (int j = 0; j < getWidth() + 2; j++) {
System.out.print(matrix[i][j]);
}
System.out.println();
}
System.out.println();
System.out.println();
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions