B
B
BespoyasovaV2021-01-29 20:53:43
Java
BespoyasovaV, 2021-01-29 20:53:43

Comparable java interface implementation?

there is a Document class with int red_num and String reg_date fields. It is necessary to implement the comparableTo () method, to be able to sort by the fields red_num and reg_date

Answer the question

In order to leave comments, you need to log in

1 answer(s)
O
Orkhan, 2021-01-29
@BespoyasovaV

Here, your question is answered - https://stackoverflow.com/questions/369512/how-to-...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question