How to read lines of two value (eg. Adam 21) and transform it in ArrayList? I mean something like database with name and age | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
0

How to read lines of two value (eg. Adam 21) and transform it in ArrayList? I mean something like database with name and age

Adam 21 Adam 23 Anna 21 numbers means age, so I can't use HashSet here. or can but don't know how ) try to split.line in String[] Arrray, but stop here

19th Sep 2017, 2:56 PM
Виктор Коляда
Виктор Коляда - avatar
1 Réponse
0
Thanks, Martin. I learn only java, so forget about other languages here. I need to take some data from line (age only for example), and than sort it and convert number's part in different ways.
19th Sep 2017, 3:56 PM
Виктор Коляда
Виктор Коляда - avatar