Posts by Leonardo Cavazzola • 29 points
5 posts
-
0
votes1
answer38
viewsA: Incorrect data output in the list
In the way you have programmed for each item on the list that has not purchased something you print "CPF NOT FOUND". The correct thing to do would be to use a solution called a flag, which consists…
javaanswered Leonardo Cavazzola 29 -
1
votes1
answer56
viewsA: How to fix 1892 Spring startup error?
Good night! as that line in the log says org.postgresql.util.PSQLException: FATAL: password authentication failed for user "postgres" Is there any error with the connection to your database, maybe…
-
1
votes1
answer33
viewsA: SPRING PAGINATION in MOCK API
I’m not sure I understand what you want. First point, it would not be a good practice to use a class of own page, I recommend to use the page provided by Spring. Second point, since you did not…
-
0
votes2
answers44
viewsA: I need help on the IF command, it doesn’t work I don’t know why, it closes the program when I write FRONT is to be a writing game
In the java language the comparison of strings and other classes is made through the equals method(). the notation "==" serves only to compare primitive types (int, float, char ...), or in the case…
-
0
votes2
answers102
viewsA: Helps to understand the Rest of Division
I will try to explain to you as briefly as possible: Every PAR number that is divided by 2 will always have 0 rest, otherwise the number is odd.