Posts by JGSILVA • 33 points
3 posts
-
1
votes1
answer80
viewsQ: Class that implements Comparable must compare by a String field in lexicographic order
How do I order a list of people by name? For understanding, follow the code: public class Pessoa implements Comparable<Pessoa> { private String nome; private int idade; private String sexo;…
-
2
votes2
answers66
viewsQ: See table by period
I have two tables, "Contact" and "Pedvenda", how can I make a query that manages during a period, for example, from 01/01/2019 to 30/01/2019 the quantity of sales between 10:00h and 16:00h each day…
-
0
votes1
answer95
viewsQ: Project problems with Maven - Algaworks
I’m a beginner in Maven, I have some little problems that I can’t solve. Does anyone know how to decipher these errors? I don’t quite understand them.…