Cara eu estou realizando o projeto do banco digital e estou com um erro em todos os System.out.println(String.format("XXXXXXX: %d", this.xxxx));
Quando eu tento fazer essa impressão igual você realizou na aula eu tenho o seguinte erro: "The method format(String, Object[]) in the type String is not applicable for the arguments (String, int)"
Estou tentando solucionar o problema, mas ele pede para trocar o tipo de int para Object.
Boa tarde @falvojr espero que você esteja bem.
Cara eu estou realizando o projeto do banco digital e estou com um erro em todos os System.out.println(String.format("XXXXXXX: %d", this.xxxx)); Quando eu tento fazer essa impressão igual você realizou na aula eu tenho o seguinte erro: "The method format(String, Object[]) in the type String is not applicable for the arguments (String, int)"
Estou tentando solucionar o problema, mas ele pede para trocar o tipo de int para Object.